This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Dup status.

1477. weak compare-and-exchange confusion III

Section: 32.5.8.2 [atomics.types.operations] Status: Dup Submitter: BSI Opened: 2010-08-25 Last modified: 2016-01-28

Priority: Not Prioritized

View other active issues in [atomics.types.operations].

View all other issues in [atomics.types.operations].

View all issues with Dup status.

Duplicate of: 1474

Discussion:

Addresses GB-135

The first sentence of 32.5.8.2 [atomics.types.operations] p.23 was changed by n2992 but now makes no sense: "that is, return false while leaving the contents of memory pointed to by expected before the operation is the same that same as that of the object and the same as that of expected after the operation." There's a minor editorial difference between n2992 ("is that same as that" vs "is the same that same as that") but neither version makes sense. Also, the remark talks about "object" which should probably be "object or this" to cover the member functions which have no object parameter.

[ Resolution proposed in ballot comment: ]

Fix the Remark to say whatever was intended.

Proposed resolution: