Closed xmh0511 closed 11 months ago
Can you explain the normative implications of the issue that you believe exists?
The concern you have is about a library clause, and was already filed as a library isuse: LWG3980
The concern you have is about a library clause, and was already filed as a library isuse: LWG3980
I think they are different issues.
But you haven't really explained the issue.
Full name of submitter (unless configured in github; will be published with the issue): Jim X
As mentioned in this SO question https://stackoverflow.com/questions/65568185/for-purposes-of-ordering-is-atomic-read-modify-write-one-operation-or-two
It is unclear whether read-modify-write is a single operation or three operations implied by its name. As discussed in that question, certain people think read-modify-write comprises two operations, and certain people think it is a single operation, however, it is not explicitly specified in the document
[atomics.order] p10 says
Note the emphasized wording,
read
andwrite
seem to imply that a read-modify-write operation comprises two operations: read and write.Suggested Resolution
Accurately define the read-modify-write operation