Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

templates using >> or > > #342

Closed
garfen opened this issue Jul 4, 2014 · 3 comments
Closed

templates using >> or > > #342

garfen opened this issue Jul 4, 2014 · 3 comments

Comments

@garfen
Copy link

garfen commented Jul 4, 2014

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 >>
@jwakely
Copy link
Member

jwakely commented Jul 4, 2014

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

@garfen
Copy link
Author

garfen commented Jul 4, 2014

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
Copy link
Contributor

FrankHB commented Jul 5, 2014

Like typedef-name declarations vs. alias-declarations?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants