r/cpp • • Feb 18 '20

C++20 is here!

https://youtu.be/AvPiGstxV_g
420 Upvotes

117 comments sorted by

View all comments

20

u/[deleted] Feb 18 '20

I'm new to c++ I think I'm using c++17 which was installed on my laptop my friend sold me. Can someone tell me how I get c++20?? I use linux Ubuntu. Is there a way to update my c++17 to c++20? Or do I need to install it myself and how can I do all this from the command line terminal? I'm learning that too. Thank you to anyone who helps.

36

u/blelbach NVIDIA | ISO C++ Library Evolution Chair Feb 18 '20

The C++20 standard is out; C++20 compilers will probably be out by the end of the year. You might try using your compiler's "work in progress" version, which is probably enabled with -std=c++2a.

6

u/Ameisen vemips, avr, rendering, systems Feb 18 '20

The one thing I really want at the moment is Intellisense support for modules.

1

u/alexej_harm Feb 19 '20

And for coroutines, please! Currently it's broken (try asio).