MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/iyvgge/new_c_features_in_gcc_10/g80o7pc/?context=3
r/cpp • u/jlpcsl • Sep 24 '20
59 comments sorted by
View all comments
1
[Quote] to enable C++20 features, use the -std=c++20[/Quote]
I’ve been using -std=c++2a with Gcc10. Is the article correct?
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).
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).
-std=c++20
-std=c++2a
1
u/smallstepforman Sep 25 '20
[Quote] to enable C++20 features, use the -std=c++20[/Quote]
I’ve been using -std=c++2a with Gcc10. Is the article correct?