December 2020
C++20 standardized
ISOInternational Organization for Standardization — publishes specs including C, C++, and Fortran standards. published C++An extension of C with classes, templates, and RAII — dominant for games, browsers, and systems code.20 in December 2020 — adding concepts, coroutines, ranges, and the spaceship operator (`<=>`).
What it was for
C++An extension of C with classes, templates, and RAII — dominant for games, browsers, and systems code.20 let compilers reject bad templates at the constraint level (concepts), write async code with coroutines, and chain range transformations fluently. It was the biggest standard since C++An extension of C with classes, templates, and RAII — dominant for games, browsers, and systems code.11 and influenced how modern C++ tutorials and codebases are written.
Why it's here
C++An extension of C with classes, templates, and RAII — dominant for games, browsers, and systems code.20 brought concepts and coroutines — features the standards committee had pursued for years.
Why it mattered
Concepts improved template error messages and APIApplication programming interface — a defined way for programs to talk to each other or to a service. design across the STL.
What it solved
Template metaprogramming was powerful but unreadable; C++ needed safer, clearer abstractions.
Media
- ImageC++
Jeremy Kratz, Public domain, via Wikimedia Commons
Related
- C++17 standardizedDecember 2017
- C++11 standardizedSeptember 1, 2011