[libcxx-commits] [libcxx] [libcxx][string] Test: default constructed allocators can be unequal (PR #195839)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 25 05:01:04 PDT 2026


================
@@ -59,31 +59,33 @@ TEST_CONSTEXPR_CXX20 void test2() {
   {
 #  if TEST_STD_VER > 14
     static_assert((noexcept(S{})), "");
-#  elif TEST_STD_VER >= 11
+#  else
----------------
ldionne wrote:

Why is this being enabled in C++03 mode too? Not saying we shouldn't, but I'm trying to understand since this seems somewhat unrelated to the change.

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


More information about the libcxx-commits mailing list