[libcxx-commits] [PATCH] D55840: P0722R3: Implement library support for destroying delete
Eric Fiselier via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Mar 18 14:37:50 PDT 2019
EricWF updated this revision to Diff 191180.
EricWF marked 4 inline comments as done.
EricWF added a comment.
Herald added a subscriber: christof.
This re-works how we allow using destroying delete as an extension.
First, it turns the extension off by default. Even if Clang would support it.
Second, it adds the `_LIBCPP_ENABLE_DESTROYING_DELETE_EXT` which can be used to enable the declarations of `std::destroying_delete_t` and `std::destroying_delete` in any dialect.
Finally, `__cpp_lib_destroying_delete` is defined only when libc++ provides the library declarations and the compiler supports the language features.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55840/new/
https://reviews.llvm.org/D55840
Files:
docs/UsingLibcxx.rst
include/new
test/libcxx/language.support/support.dynamic/destroying_delete_extension.pass.cpp
test/std/language.support/support.dynamic/destroying_delete_t.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55840.191180.patch
Type: text/x-patch
Size: 6695 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190318/ffabb157/attachment.bin>
More information about the libcxx-commits
mailing list