October 2024

C++23 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.23 as ISOInternational Organization for Standardization — publishes specs including C, C++, and Fortran standards./IEC 14882:2024 in October 2024 — adding `std::expected`, `if consteval`, `std::print`, and multidimensional subscript operators.

What it was for

C++C++An extension of C with classes, templates, and RAII — dominant for games, browsers, and systems code.23 brought error handling without exceptions (`expected`), compile-time reflection hooks, and formatted printing in the standard library. Technical work finished in 2023; ISOInternational Organization for Standardization — publishes specs including C, C++, and Fortran standards. publication followed in 2024 after administrative processing.

Why it's here

C++An extension of C with classes, templates, and RAII — dominant for games, browsers, and systems code.23 added error and printing primitives long requested by systems programmers.

Why it mattered

`std::expected` and `print` reduce dependency on third-party libraries for common patterns.

What it solved

C++ lacked standard error-return types and simple formatted output without iostreams boilerplate.

Media

  • C++
    ImageC++

    Jeremy Kratz, Public domain, via Wikimedia Commons

Related