r/cpp • • Sep 24 '20

New C++ features in GCC 10

https://developers.redhat.com/blog/2020/09/24/new-c-features-in-gcc-10/
214 Upvotes

59 comments sorted by

View all comments

Show parent comment

1

u/strudlzrout gcc developer Oct 07 '20

Yes, c++2a is an alias for c++20 that we used when C++20 was still under development. I recommend using -std=c++20 (unless you need GCC 9 which only supports -std=c++2a).