[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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6695 bytes
Desc: not available
More information about the libcxx-commits