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

Fix inconsistency in class grammar vs text #5081

Closed
wants to merge 1 commit into from
Closed

Fix inconsistency in class grammar vs text #5081

wants to merge 1 commit into from

Conversation

dvhwgumby
Copy link

Changed grammar specification of class to indicate that the class-head-name is optional. The text of the standard specifically explains that an anonymous class is created by not specifying a class-head-name.

g++ and clang++ both support omission of class-head-name per the text.

Changed grammar specification of class to indicate that the class-head-name is optional.  The text of the standard specifically explains that an anonymous class is created by not specifying a class-head-name.

g++ and clang++ both support omission of class-head-name per the text.
@timsong-cpp
Copy link
Contributor

Changed grammar specification of class to indicate that the class-head-name is optional. The text of the standard specifically explains that an anonymous class is created by not specifying a class-head-name.

That's the next production?

@jensmaurer jensmaurer closed this Oct 29, 2021
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

3 participants