-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
P0019R8 atomic_ref #2
Comments
I have a question on this one. It appears that So I guess the best way to implement Want you to confirm that. |
|
I think simple change (the way which I put it in draft PR) is possible. Standard defines:
But as it defines no way to reassign the pointer:
So it may be implemented as reference:
This replacement of value with reference allows for transparent reuse |
Co-authored-by: Billy O'Neal <[email protected]> Co-authored-by: Adam Bucior <[email protected]> Co-authored-by: Stephan T. Lavavej <[email protected]>
P0019R8
atomic_ref
P1960R0
atomic_ref
Cleanup (note: this paper made minor changes to other wording)LWG-3160
atomic_ref() = delete;
should be deletedFeature-test macro as of WG21-N4842, added by WG21-P1902:
#define __cpp_lib_atomic_ref 201806L
The text was updated successfully, but these errors were encountered: