[libcxx-commits] [libcxx] [libc++] Remove macros for keeping std::allocator members and void specialization after C++20 (PR #85806)

Ilya Biryukov via libcxx-commits libcxx-commits at lists.llvm.org
Wed Mar 20 11:26:09 PDT 2024


================
@@ -1,93 +0,0 @@
-//===----------------------------------------------------------------------===//
----------------
ilya-biryukov wrote:

I initially thought that it was checking the allocator members keep working in C++20 when the corresponding macro is defined (and running in other standard modes for sanity checking or simply redundantly as an oversight). I implicitly assumed there are other tests checking these members in pre-C++20 modes.

But I was wrong, thanks for pointing this out, it was the only test that has the deprecated version of allocate with hint, I've restored it and made it run only for pre-C++20 mode.

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


More information about the libcxx-commits mailing list