[PATCH] D55741: Implementation Feature Test Macros for P0722R3

Chris Kennelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 18 16:32:55 PST 2019


ckennelly added a comment.

In D55741#1361040 <https://reviews.llvm.org/D55741#1361040>, @jwakely wrote:

> I'd be happy to restrict this to > C++17 only (which is automatically the case when using G++ because there's no `-fdestroying-delete` to enable it, you only get it with `-std=c++2a`,  `-std=gnu++2a` etc.)


I'd like to see this available earlier (say >=C++17) so that it is possible to pre-adopt the feature before switching to C++2a (assuming appropriate language support for the feature from the compiler).  Otherwise, it's necessary to open up `std` to get to a simple type that happens to have magic language implications.


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