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

Motions 2019 11 lwg 20: P0883R2 Fixing Atomic Initialization #3487

Merged
merged 2 commits into from Nov 24, 2019

Conversation

burblebee
Copy link
Contributor

@burblebee burblebee commented Nov 18, 2019

Fixes #3422.

Issues:

  • [depr.atomics] Check my use of sections - it wasn't clear to me which and when to repeat sections prefixed with "depr.". Please check my use of sections.

Fixes cplusplus/papers#276

Fixes cplusplus/nbballot#6
Fixes cplusplus/nbballot#18
Fixes cplusplus/nbballot#347
Fixes cplusplus/nbballot#349

source/future.tex Outdated Show resolved Hide resolved
\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}.
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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.

@jensmaurer
Copy link
Member

The section labels in [depr] look fine to me.

@jensmaurer jensmaurer added the changes requested Changes to the wording or approach have been requested and not yet applied. label Nov 19, 2019
@jensmaurer jensmaurer added this to the post-2019-11 milestone Nov 19, 2019
@jensmaurer jensmaurer removed the changes requested Changes to the wording or approach have been requested and not yet applied. label Nov 22, 2019
Dawn Perchik added 2 commits November 23, 2019 20:19
[depr.atomics] Added additional deprecated sections.

Also fixes NB CA 353, US 351, DE 18, and RU 6 (C++20 CD), and LWG2334.
@zygoloid zygoloid merged commit eda1581 into master Nov 24, 2019
@jensmaurer jensmaurer deleted the motions-2019-11-lwg-20 branch February 18, 2020 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment