[libcxx-commits] [libcxx] [libc++] Implement C++20 atomic_ref (PR #76647)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 6 07:34:24 PST 2024


================
@@ -0,0 +1,55 @@
+//
----------------
huixie90 wrote:

I think majority of the tests would still pass even if the implementation does not have any atomic operations. i would suggest to have a look at these tests
https://github.com/llvm/llvm-project/blob/main/libcxx/test/std/atomics/atomics.types.generic/atomics.types.float/test_helper.h

(most of the tests in atomic float uses the test template above)

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


More information about the libcxx-commits mailing list