-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Atomics docs should reference the C++11 standard instead of a GCC wiki page. #22064
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
Comments
Why? |
Some reasons include:
|
Why 11 and not 14? With 14 our quotes will contain the latest editorial changes! :D |
Are either of those standards the definitive documentation for what we are doing? I'm not opposed to this, just trying to gain some more context here. |
I believe so. Rust uses LLVM's atomic intrinsic functions which correspond directly to C++11's atomic operations. See the LLVM language reference and a more informal description.
|
The GCC wiki is incomplete. I read it and then ten other websites that tried to provide an informal explanation of C++11 atomic operations before I looked at the standard itself and found a whole paragraph dedicated to my question. |
cc @steveklabnik
The text was updated successfully, but these errors were encountered: