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

[decl.init]/10 Fix specified initialization. #2351

Merged
merged 1 commit into from Mar 15, 2019

Conversation

stryku
Copy link
Contributor

@stryku stryku commented Oct 11, 2018

According to [basic.start.static]/2, for objects with static storage duration,
zero initialization performs only if constant initialization does not.
[decl.init]/10 can be generalized to static initialization.
This is an editorial note change.

zero-initialized at program startup before any other initialization
takes place.
\begin{note} Every object of static storage duration is
static-initialized (\ref{basic.start.static}) at program startup
Copy link
Member

Choose a reason for hiding this comment

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

Please use \iref here instead of a parenthesized \ref.

@jensmaurer jensmaurer added the changes requested Changes to the wording or approach have been requested and not yet applied. label Nov 26, 2018
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.

See @zygoloid's comment.

@stryku stryku force-pushed the master branch 2 times, most recently from 9382aec to 1ac2ab7 Compare December 9, 2018 15:53
@stryku
Copy link
Contributor Author

stryku commented Dec 9, 2018

I've somehow missed your comments, sorry. I hope I understood the \iref syntax right.

According to [basic.start.static]/2, for objects with static storage duration,
zero initialization performs only if constant initialization does not.
[decl.init]/10 can be generalized to static initialization.
This is an editorial note change.
@zygoloid zygoloid merged commit 142acf0 into cplusplus:master Mar 15, 2019
@zygoloid zygoloid removed the changes requested Changes to the wording or approach have been requested and not yet applied. label Mar 15, 2019
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