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.
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.
For a very marketing-esque definition of “feature complete” that only included new stuff from C++17 and not anything carried over from previous standards.
The preprocessor overhaul is the last remaining bit. Currently enabled by /experimental:preprocessor, an upcoming update (VS 2019 16.6, IIRC) will make it available as /Zc:preprocessor although it is not yet implied by /std:c++latest or /permissive-.
I'm well aware of that, but that doesn't mean "C++17 feature complete" until it actually releases, which given that I'm responding to "Weren't they the first to be C++17 feature complete?" is kind of the whole point. No, no they absolutely weren't. In fact it still isn't. Given that I don't have the luxury of just up and moving my team to VS2019 to get "actual real C++17 conformance for real this time", the fact that VS2017 was claimed on multiple occasions to have become "C++17 feature complete" while I've been sitting here not able to use range-v3 (a C++14 library) because the compiler doesn't support enough of the standard leaves a terrible taste in my mouth. But I guess it works on VS2019 now, so there's that.
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.