[PATCH] D104975: Implement P1949

Ade Durcov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 4 16:14:43 PDT 2022


intractabilis added a comment.

In D104975#3492099 <https://reviews.llvm.org/D104975#3492099>, @tahonermann wrote:

> I am quite sure that gcc will also be implementing P1949 <https://reviews.llvm.org/P1949> as adopted for C++23.

Yes, you are right, it is available in GCC 12 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100977).

Since it is a C++23 feature, can we at least have it only if the user requests C++23 standard compliance? Isn't it strange to force it upon users if they specify `-std=c++20`? I am going to check how GCC 12 behaves with this regard.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104975



More information about the cfe-commits mailing list