[libcxx-commits] [libcxx] [libc++] Implement P0493R5: Atomic minimum/maximum (PR #180333)

via libcxx-commits libcxx-commits at lists.llvm.org
Sat Feb 21 07:13:10 PST 2026


huixie90 wrote:

> @huixie90 I'm wondering if it's feasible to split the paper implementation into 2 PRs - one for the integral part, and one for the pointers (which depends on the compiler change). It also looks like GCC doesn't support pointer fetch max/min either.

It is OK to split the paper but we will need to correctly update the paper status and release notes, and not to close the Github issue. Alternatively, you can use the fallback CAS loop to implement the pointer version.

https://github.com/llvm/llvm-project/pull/180333


More information about the libcxx-commits mailing list