Code that is written to the 2020 version of the C++ standard. Use in conjunction with the 'c++' tag.

Use this tag for code that is to be compiled as C++20, published as ISO/IEC 14882:2020 in December 2020.

  • Predecessor: C++17
  • Successor: C++23

Some of the main improvements of C++20, compared to C++17, include:

  • Concepts (to constrain templates)
  • Modules
  • Coroutines
  • Ranges library
  • Three-way comparison functions (<=> operator)