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

[temp.local] Remove space between angle brackets in example #3961

Closed
wants to merge 1 commit into from

Conversation

sdkrystian
Copy link
Contributor

@sdkrystian sdkrystian commented Apr 29, 2020

We don't do this very much, if at all.

Copy link
Member

@jensmaurer jensmaurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want this change.

@@ -4747,7 +4747,7 @@
};

template<class T, template<class> class U = T::template Base> struct Third { };
Third<Derived<int> > t; // OK: default argument uses injected-class-name as a template
Third<Derived<int>> t; // OK: default argument uses injected-class-name as a template
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we don't want to change this under the "core sections show a variety of syntactically valid styles" doctrine. (There are also a few more places in the core language section where > > is used, so this is also a questionable improvement in overall consistency.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, the one place I didn't look when checking for more instances was... [temp]. I can still wait for @zygoloid to look this over if we want, but I agree with you that we shouldn't make the change

@jensmaurer
Copy link
Member

Author agreed not to apply the change.

@jensmaurer jensmaurer closed this Apr 29, 2020
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

Successfully merging this pull request may close these issues.

None yet

2 participants