Sections[std]

Standards

What each C++ standard changed and what the next one brings, feature by feature and compiler by compiler, for teams planning their next upgrade.

Clause
7 of 8
Answers
1, newest first
Written for
C++20
Written by

A feature has three dates that matter: the standard that added it, the compiler release that supports it, and the day your oldest build machine gets that release. This section covers all three, and how the committee decides what comes next. Since When looks up the first two. For one feature in depth, start with C++20 concepts: how to write and use them, which replace most enable_if and SFINAE code.

In this section

  • What changed in each standard
  • Compiler support by feature
  • Moving a codebase to a newer standard
  • Deprecated and removed features
  • Proposals and how the committee works
  • Committee meeting outcomes
  • Contracts, safety profiles and hardening
  • Feature-test macros
  • Standard library implementations compared
  • What is planned after C++26

Answers in Standards 1, newest first

  1. C++20 concepts: how to write and use them

    Constrain C++20 templates with concepts: the four ways to write a constraint, requires expressions, the standard concepts, overloading, and what is not checked.

    §7.113 min readC++20

    written for C++20