[libcxx-commits] [PATCH] D55840: P0722R3: Implement library support for destroying delete

Eric Fiselier via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Feb 2 15:18:30 PST 2019


EricWF added a comment.

Question:

In C++20 we should declare `destroying_delete_t`, even if `__cpp_impl_destroying_delete` isn't defined.
But in that case should be define `__cpp_lib_destroying_delete`? The library has the type, but users
can't actually perform destroying delete.

Since `__cpp_impl_destroyng_delete` isn't for users, but `__cpp_lib_destroying_delete` is, then I don't think we should define it unless the compiler actually provides the language feature.


Repository:
  rCXX libc++

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

https://reviews.llvm.org/D55840





More information about the libcxx-commits mailing list