Section: 32 [atomics] Status: Dup Submitter: Holger Grund Opened: 2008-12-19 Last modified: 2016-02-10
Priority: Not Prioritized
View all other issues in [atomics].
View all issues with Dup status.
Duplicate of: 880
I'm looking at 32 [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 32 [atomics]/2:
void* atomic_exchange(volatile atomic_address*);