โž•

C++23

C++23 is the 2023 revision of the ISO C++ standard, developed by the ISO C++ Committee (WG21) as a free, open standard. It ranks #10 among trending tech tags at roughly 7.3% usage share. It's trending as compilers finish rolling out support for its quality-of-life features โ€” most notably std::print, deducing this, and multidimensional subscript operators โ€” that make modern C++ noticeably less error-prone to write.

Quick facts
Type: Programming language standard (ISO specification)
Made by: ISO C++ Committee (WG21)
License: Free / open standard (implemented by GCC, Clang, MSVC)
Language/Platform: C++, cross-platform
Primary use case: Systems, performance-critical, and application programming with the latest safety and ergonomics improvements to the language
Jump to: ExampleGetting startedBest for

Example

C++23 introduces std::print โ€” a type-safe, Python-style formatted output function that replaces the verbose iostream chaining or unsafe printf calls.

#include <print>
#include <string>

int main() {
    std::string name = "Ava";
    int score = 97;

    // std::print: type-safe, no manual format specifiers needed
    std::println("{} scored {} points", name, score);

    // deducing this (C++23) simplifies chained method definitions
    return 0;
}

Getting started

Use a recent GCC or Clang release with C++23 support enabled via the standard flag.

# compile with GCC, targeting the C++23 standard
g++ -std=c++23 main.cpp -o main

# run it
./main
Best for: C++ codebases in systems programming, game engines, or performance-critical services that want safer, more concise syntax (like std::print) without giving up the raw performance and control C++ is chosen for.