[libcxx-commits] [libcxx] [libc++] Fix inconsistency between is_lock_free and is_always_lock_free (PR #68109)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 3 10:46:07 PDT 2023


================
@@ -27,8 +27,12 @@ struct TestFn {
   void operator()() const {
     typedef std::atomic<T> A;
     T t = T();
+
----------------
ldionne wrote:

It made the test a bit clearer since we are testing for non-volatile and volatile symmetrically.

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


More information about the libcxx-commits mailing list