[libcxx-commits] [libcxx] [libc++] Implement P4206R0 Revert string support in std::constant_wrapper (PR #203338)
Yihan Wang via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Jun 21 23:31:02 PDT 2026
================
@@ -148,7 +148,12 @@ static_assert(!HasPlus<std::constant_wrapper<NoOps{}>>);
static_assert(!HasMinus<std::constant_wrapper<NoOps{}>>);
static_assert(!HasBitNot<std::constant_wrapper<NoOps{}>>);
static_assert(!HasNot<std::constant_wrapper<NoOps{}>>);
+
+// Skip this test on clang-21, see https://github.com/llvm/llvm-project/issues/151531.
+#if defined(__clang_major__) && __clang_major__ > 21
static_assert(HasBitAnd<std::constant_wrapper<NoOps{}>>);
+#endif
+
static_assert(!HasDeref<std::constant_wrapper<NoOps{}>>);
----------------
yronglin wrote:
Fixed
https://github.com/llvm/llvm-project/pull/203338
More information about the libcxx-commits
mailing list