[libcxx-commits] [libcxx] [libc++] Implement P0493R5: Atomic minimum/maximum (PR #180333)
Connector Switch via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Feb 21 05:08:25 PST 2026
================
@@ -799,6 +815,68 @@ atomic_fetch_xor_explicit(atomic<_Tp>* __o, typename atomic<_Tp>::value_type __o
return __o->fetch_xor(__op, __m);
}
+#if _LIBCPP_STD_VER >= 26
+// atomic_fetch_max
+
+template <class _Tp>
+ requires(integral<_Tp> && !same_as<_Tp, bool>)
----------------
c8ef wrote:
Done.
https://github.com/llvm/llvm-project/pull/180333
More information about the libcxx-commits
mailing list