[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
Sat Jun 20 03:40:53 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:
`decltype` is a C++11+ keyword, which, I believe, is a stronger limitation than library functionality that can be backported.
https://github.com/llvm/llvm-project/pull/195839
More information about the libcxx-commits
mailing list