On 15-Dec-2020, the C++ language standard got it’s 6th edition – what we fondly call as C++20.The new standard revises the previous C++17 standard.
Buy the new C++20, available as a pdf in English at CHF 198, at https://www.iso.org/standard/79358.html.
Preview C++20 at https://www.iso.org/obp/ui/#iso:std:79358:en.
The latest draft is available at https://wg21.link/std free of cost.
Previously, on 04-Sep-20, the DIS (Draft International Standard) had ended and it passed unanimously. C++20 had received it final technical approval after which the final round of editorial work was going on which culminated into the publication of the C++20 standard.
Previous C++17 standard is available at https://www.iso.org/standard/68564.html.
The C++ language updates it’s standards every 3 years. It is remarkable that C++20 was rolled out without any delay! Kudos to the ISO C++ Standard Committee and to the entire C++ community.
2 thoughts on “C++20 published!”
Any summary reference where we can see what all got incorporated in new standard.
Good question! I will jump to mention the BIG ones that potentially change how we do things in a big way:
There are many other smaller which improve with a lot of important things:
c. Spaceship comparison operator
d. Concurrency related
e. Templated lambdas
f. constinit, consteval
And, many more!
During cppcon 2020 Fireside chat with Bjarne Stroustrup, Herb Sutter, JF Bastein, Tony Van Eerd, Hana Dusikova, etc. everyone noted that C++20 is so big that it will take people 2 years or so to see the impact, or have newer practices/guidelines emerge, etc.
I cannot do a good job noting things here. I will refer you to the following instead:
C++20: An (Almost) Complete Overview – Marc Gregoire – CppCon 2020: https://youtu.be/FRkJCvHWdwQ
How C++20 Changes the Way We Write Code – Timur Doumler – CppCon 2020: https://youtu.be/ImLFlLjSveM