[libcxx-commits] [PATCH] D127387: [libc++] Implement P0174R2 (Deprecating Vestigial Library Parts in C++17)

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jun 11 11:53:13 PDT 2022


Mordante added inline comments.


================
Comment at: libcxx/include/__memory/allocator.h:32
 template <>
-class _LIBCPP_TEMPLATE_VIS allocator<void>
+class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX17 allocator<void>
 {
----------------
ldionne wrote:
> There's a bit of history behind this, but TLDR, I don't think we want to do this part: https://reviews.llvm.org/D104323.
> 
> In particular, I think reading https://github.com/llvm/llvm-project/issues/49643 by @jwakely is relevant.
Can you add some comment why this is intended not to be deprecated.
That way we can avoid a third deprecation round.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127387/new/

https://reviews.llvm.org/D127387



More information about the libcxx-commits mailing list