C++20 published!

ISO/IEC 14882:2020 Programming languages – C++

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.

Author: Ankur Satle

while (feature = cpp20_features.find("new")) { learn(feature); }

2 thoughts on “C++20 published!”

  1. Good question! I will jump to mention the BIG ones that potentially change how we do things in a big way:
    1. Modules
    2. Ranges
    3. Concept
    4. Coroutines

    There are many other smaller which improve with a lot of important things:
    a. jthread
    b. std::span
    c. Spaceship comparison operator
    d. Concurrency related
    e. Templated lambdas
    f. constinit, consteval
    g. std::format
    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

    Thanks,
    Ankur Satle

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: