[PATCH] D55741: Implementation Feature Test Macros for P0722R3

Jonathan Wakely via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 13 14:19:04 PST 2019


jwakely added a comment.

As it looks like libc++ isn't going to define the type for earlier dialects, libstdc++ doesn't either (which seems right anyway because the names aren't reserved prior to C++20).

We now define the type and variable unconditionally for C++2a, but only define the `__cpp_lib_destroying_delete` macro if compiling for C++2a **and** the compiler advertises support via the impl macro.


Repository:
  rC Clang

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

https://reviews.llvm.org/D55741





More information about the cfe-commits mailing list