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

[expr.sizeof] Turn identifier into a grammarterm #6467

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

Eisenwave
Copy link
Contributor

Since sizeof... is literally applied to an identifier in the grammar, (see https://eel.is/c++draft/expr.unary.general#nt:unary-expression), and p1 talks about sizeof type-id, where type-id is also a grammar term, it feels more appropriate to format identifier as such too.

@tkoeppe tkoeppe merged commit 90d56db into cplusplus:main Aug 30, 2023
2 checks passed
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.

3 participants