cplusplus / nbballot

Handling of NB comments in response to ballots
14 stars 4 forks source link

GB-128 33.5 [atomic] Add minimum and maximum atomic operations #450

Closed wg21bot closed 1 year ago

wg21bot commented 1 year ago

Atomic minimum and maximum operations have widespread support in hardware and yet are missing from the C++ standard. A proposal to add them was approved by Library Evolution for C++23 in 2021, however since it has been consistently deprioritized in the Library Working Group due to other, more urgent work.

Adopt P0493 which adds fetch_min / fetch_max atomic operations.

JeffGarland commented 1 year ago

The link to the github tracking for the paper in question is here. LWG has looked at the paper and has design questions for LEWG.

https://github.com/cplusplus/papers/issues/866

JeffGarland commented 1 year ago

@brycelelbach do we have a disposition on this for C++23?

edit: I see from the notes this will be for 26

POLL: Send P0493R3 (Atomic maximum/minimum) to Library for C++23 classified as B3 - addition, to be confirmed with a Library Evolution electronic poll.

SF F N A SA
3 5 4 10 1

Outcome: No consensus

brycelelbach commented 1 year ago

Rejected, no consensus for change. See https://wg21.link/P0493/status for details.