Title
Atomics synopsis typo
Status
dup
Section
[atomics]
Submitter
Holger Grund

Created on 2008-12-19.00:00:00 last changed 163 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change the synopsis in [atomics]/2:

void* atomic_exchange(volatile atomic_address*, void*);
Date: 2008-12-19.00:00:00

Duplicate: 880

I'm looking at [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 be

void* atomic_exchange(volatile atomic_address*, void*);

Note, that this is not covered by 880 "Missing atomic exchange parameter", which only talks about the atomic_bool.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg4474
2008-12-19 00:00:00admincreate