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

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 5 11:30:45 PST 2024


================
@@ -0,0 +1,39 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+// UNSUPPORTED: c++03, c++11, c++14, c++17
+// ADDITIONAL_COMPILE_FLAGS: -Wno-ctad-maybe-unsupported
----------------
ldionne wrote:

What happens if you remove this? I think you are missing `_LIBCPP_CTAD_SUPPORTED_FOR_TYPE(atomic_ref)` in your implementation.

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


More information about the libcxx-commits mailing list