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

[dcl.stc] rearrange wording, turn typedef restriction into note #6477

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Eisenwave
Copy link
Contributor

image

This edit changes a few things:

  • It adds a missing comma after the conditional clause "if thread_local appears ..."
  • Fixes [dcl.stc]/1 and [dcl.typedef]/1 each forbid "static typedef" #6081. This is done by turning the normative wording into a note at the bottom. The restriction on typedef is already defined in [dcl.typedef], and does not need to be stated here.
  • It turns the last sentence into the first sentence, which seems more logical. What a storage-class-specifier applies to is more important than the list of restrictions.

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.

[dcl.stc]/1 and [dcl.typedef]/1 each forbid "static typedef"
1 participant