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

[atomics.syn] missed edit for atomic_exchange signature in P558R1 #1647

Closed
jensmaurer opened this issue Jun 23, 2017 · 4 comments
Closed

[atomics.syn] missed edit for atomic_exchange signature in P558R1 #1647

jensmaurer opened this issue Jun 23, 2017 · 4 comments
Labels
lwg Issue must be reviewed by LWG.

Comments

@jensmaurer
Copy link
Member

In

template<class T>
  T atomic_exchange(volatile atomic<T>*, T) noexcept;

the second "T" should actually be typename atomic<T>::value_type to avoid deduction for that parameter. The neighbor overload (without volatile) has it correct. This is a bug in P558R1.

@jensmaurer
Copy link
Member Author

jensmaurer commented Jun 23, 2017

@zygoloid: Can we fix that editorially?

@jensmaurer jensmaurer added the decision-required A decision of the editorial group (or the Project Editor) is required. label Jun 23, 2017
@jensmaurer jensmaurer added lwg Issue must be reviewed by LWG. and removed decision-required A decision of the editorial group (or the Project Editor) is required. labels Jul 15, 2017
@jensmaurer
Copy link
Member Author

jensmaurer commented Jul 26, 2017

Editorial meeting consensus: This should be handled as an LWG issue.

@jensmaurer
Copy link
Member Author

jensmaurer commented Sep 15, 2017

This is LWG 2988.

@CaseyCarter
Copy link
Contributor

LWG 2988 has been applied to the WP; I believe this issue is resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lwg Issue must be reviewed by LWG.
Projects
None yet
Development

No branches or pull requests

3 participants