[libcxx-commits] [libcxx] [libc++] Implement P0493R5: Atomic minimum/maximum (PR #180333)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Feb 21 01:37:33 PST 2026
================
@@ -0,0 +1,103 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// REQUIRES: std-at-least-c++26
+// XFAIL: !has-64-bit-atomics
+
+// <atomic>
+
+// template<class T>
+// T atomic_fetch_max_explicit(volatile atomic<T>*, typename atomic<T>::value_type,
----------------
huixie90 wrote:
I might be missing something, but I can't seem to find any tests that exercise the member functions of `std::atomic<T>`
https://github.com/llvm/llvm-project/pull/180333
More information about the libcxx-commits
mailing list