Skip to content

templates using >> or > > #342

Closed
Closed
@garfen

Description

@garfen

Should the standard consistently use either > > or >> with, for example, template argument lists within header synopsis's, examples, etc.? Currently (N3936) it seems to be a bit arbitrary.

Example:

A<B<T> > a;  // uses > >

A<B<T>> b;  // uses >>

Activity

jwakely

jwakely commented on Jul 4, 2014

@jwakely
Member

The vast majority still uses a space, because it predates C++11.

garfen

garfen commented on Jul 4, 2014

@garfen
Author

Is it supposed to stay that way, that things that predates C++11 should use space? What about things that was introduced in C++11 and uses space?

Thanks.

FrankHB

FrankHB commented on Jul 5, 2014

@FrankHB
Contributor

Like typedef-name declarations vs. alias-declarations?

added a commit that references this issue on Nov 13, 2016
d645b25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jwakely@garfen@FrankHB

        Issue actions

          templates using >> or > > · Issue #342 · cplusplus/draft