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
[basic.stc.static] Rephrase the definition of 'static storage duration' #4575
Conversation
(To review by group, but tentatively OK to merge.) |
To be reworded, it's too obscure at the moment that static block variables are handled elsewhere. |
Editorial meeting 2021-04-30: Make sure this definition is complete (considers static local variables as well). Also reword p3. |
@zygoloid: your review would be most appreciated here. |
source/basic.tex
Outdated
do not have thread storage duration and | ||
\item | ||
belong to a namespace scope\iref{basic.scope.namespace} or | ||
are declared with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be useful to say "are first declared" here, given that static
is inherited in redeclarations (and can't be present in a redeclaration of a class member)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that clarifies the "class member redeclaration" case.
Fixed
This clarifies and centralizes the definition and also avoids the undefined term 'local variable'.
Looks good, I'll merge this. |
This clarifies and centralizes the definition and
also avoids the undefined term 'local variable'.
Fixes #4567