mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-22 16:37:40 +08:00
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 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@361572 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -483,7 +483,14 @@ feature_test_macros = sorted([ add_version_header(x) for x in [
|
||||
"c++2a": 201806L,
|
||||
},
|
||||
"headers": ["new"],
|
||||
"unimplemented": True,
|
||||
"depends":
|
||||
"TEST_STD_VER > 17"
|
||||
" && defined(__cpp_impl_destroying_delete)"
|
||||
" && __cpp_impl_destroying_delete >= 201806L",
|
||||
"internal_depends":
|
||||
"_LIBCPP_STD_VER > 17"
|
||||
" && defined(__cpp_impl_destroying_delete)"
|
||||
" && __cpp_impl_destroying_delete >= 201806L",
|
||||
},
|
||||
{"name": "__cpp_lib_three_way_comparison",
|
||||
"values": {
|
||||
|
Reference in New Issue
Block a user