Section: 33.5 [atomics] Status: Dup Submitter: Holger Grund Opened: 2008-12-19 Last modified: 2016-01-28 10:19:27 UTC
Priority: Not Prioritized
View all other issues in [atomics].
View all issues with Dup status.
Duplicate of: 880
I'm looking at 33.5 [atomics] and can't really make sense of a couple of things.
Firstly, there appears to be a typo in the <cstdatomic> synopsis:
The atomic_exchange overload taking an atomic_address is missing the second parameter:void* atomic_exchange(volatile atomic_address*);
should bevoid* atomic_exchange(volatile atomic_address*);
Note, that this is not covered by 880 "Missing atomic exchange parameter", which only talks about the atomic_bool.
Change the synopsis in 33.5 [atomics]/2:
void* atomic_exchange(volatile atomic_address*);