Namespaces
Variants

C++23

From cppreference.com
< cpp

The current revision of the C++ standard.

New language features

void f(int& x)
{
if (x)
goto END;
x = 42;
END:
}
  • Alias declarations (using) in init-statements (P2360R0), e.g.
for (using T = int; T e : v)
/* ... */

New library features

New modules

New headers