P0722R3: Implement library support for destroying delete
authorEric Fiselier <eric@efcs.ca>
Thu, 23 May 2019 23:46:44 +0000 (23:46 +0000)
committerEric Fiselier <eric@efcs.ca>
Thu, 23 May 2019 23:46:44 +0000 (23:46 +0000)
commitae02e8944807c7b611ca3645a983c62d464f27a4
treeac2437b2aca07fcb3cd9239bf56142a85c74aa29
parentffafdb9afc84126fe3156b8075bc3d7d3dad6dfe
P0722R3:  Implement library support for destroying delete

Summary:
This provides the `std::destroying_delete_t` declaration in C++2a and after. (Even when the compiler doesn't support the language feature).

However, the feature test macro `__cpp_lib_destroying_delete` is only defined when we have both language support and  C++2a.

Reviewers: ldionne, ckennelly, serge-sans-paille, EricWF

Reviewed By: EricWF

Subscribers: dexonsmith, riccibruno, christof, jwakely, jdoerfert, mclow.lists, ldionne, libcxx-commits

Differential Revision: https://reviews.llvm.org/D55840

llvm-svn: 361572
libcxx/docs/FeatureTestMacroTable.rst
libcxx/include/new
libcxx/include/version
libcxx/test/std/language.support/support.dynamic/destroying_delete_t.pass.cpp [new file with mode: 0644]
libcxx/test/std/language.support/support.limits/support.limits.general/new.version.pass.cpp
libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
libcxx/utils/generate_feature_test_macro_components.py