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
Motions 2019 11 lwg 20: P0883R2 Fixing Atomic Initialization #3487
Conversation
\pnum | ||
The macro expands to a token sequence suitable for constant initialization of | ||
an atomic variable of static storage duration of a type that | ||
is initialization-compatible with \tcode{value}. |
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.
What does "initialization-compatible" mean? That's not a defined term in C++, I believe.
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.
Good catch. Will email the author.
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.
I find it very likely that the author has no idea what this wording - which we've been shipping since C++11 - is supposed to mean. We could file an LWG issue to have it cleaned up, but given that this now exists only in Annex D it's likely such an issue will never be addressed.
The section labels in [depr] look fine to me. |
4d3571d
to
8cb3941
Compare
[depr.atomics] Added additional deprecated sections. Also fixes NB CA 353, US 351, DE 18, and RU 6 (C++20 CD), and LWG2334.
78a9ded
to
af48b06
Compare
Fixes #3422.
Issues:
Fixes cplusplus/papers#276
Fixes cplusplus/nbballot#6
Fixes cplusplus/nbballot#18
Fixes cplusplus/nbballot#347
Fixes cplusplus/nbballot#349