[libcxx-commits] [libcxx] [libc++] P0718R2: Implementation of std::atomic<shared_ptr<T>> and std::atomic<weak_ptr<T>> (PR #194215)
Hristo Hristov via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Aug 17 23:23:01 PDT 2026
================
@@ -0,0 +1,58 @@
+//===----------------------------------------------------------------------===//
+//
+// 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: diagnose-if-support
+// REQUIRES: std-at-least-c++20
+// UNSUPPORTED: no-threads
----------------
Zingam wrote:
```suggestion
// REQUIRES: std-at-least-c++20
// REQUIRES: diagnose-if-support
// UNSUPPORTED: no-threads
```
Nit: IMO Tests should start with the version requirement (I know this is inconsistent in the test suite).
https://github.com/llvm/llvm-project/pull/194215
More information about the libcxx-commits
mailing list