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

Nikita Belenkiy via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 22 08:31:09 PDT 2026


================
@@ -67,7 +67,10 @@ TEST_CONSTEXPR_CXX20 void test2() {
     assert(s.data());
     assert(s.size() == 0);
     assert(s.capacity() >= s.size());
-    assert(s.get_allocator() == typename S::allocator_type());
+#  if TEST_STD_VER >= 11
----------------
kitsnet wrote:

Another question is that we may have (long running) competing pull requests that remove the <14 branches altogether... but they are unfortunately too slow in review to rely on being merged first.

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


More information about the libcxx-commits mailing list