Closed xmh0511 closed 1 year ago
Almost all Preconditions in the whole [atomics] seem to be broken.
The underlying type of std::memory_order
might not be able to represent 1024. Maybe it's more prudent to use 7 here.
In any case, this concerns library wording, not core wording, so please report it as an LWG issue.
Full name of submitter (unless configured in github; will be published with the issue): Jim X
Consider this case:
[enum.dcl.enum] p8 says:
The
invented_ordering
does not violate the preconditions ofstore
. This may be a LWG issue.