C++26 introduces fetch_max and fetch_min operations for atomic types, supporting integral, pointer, and floating-point types. These operations atomically compare and update values, performing std::max/min between an argument and the atomic object's current value while returning the previous value. The feature, originally
Sort: