C++29
C++29 is the informal name for the open standard revision of the International Organization for Standardization (ISO) and International Electrotechnical Commission (IEC) 14882 standard for the C++ programming language that follows C++26, planned for release in 2029.[src] The first meeting took place in June 2026 in Brno, Czech Republic.[src]
C++29 is the informal name for the open standard revision of the International Organization for Standardization (ISO) and International Electrotechnical Commission (IEC) 14882 standard for the C++ programming language that follows C++26, planned for release in 2029.[src] The first meeting took place in June 2026 in Brno, Czech Republic.[src] An offset parameter for the #embed directive Support for contracts on virtual functions Pack indexing for variadic templates Designated initializers for constructing a base struct import std; using std::vector; struct Base { int x; }; struct Derived : public Base { int y; }; vector v = { Derived {.x = 1, .y = 2}, Derived {{.x = 1}, .y = 2}, Derived {.x{1}, .y{2}}, }; Deallocation functions with a throwing specification (i.e.[src] void operator delete(void* p) noexcept(false); are ill-formed) Conditional noexcept specifiers in concept compound requirements Support for = default; assignments for postfix increment/decrement operators (i.e.[src] T operator++(T&, int) = default; Additional restrictions on defaulted assignment operator functions consteval -only values: A value is consteval-only if it is either a reflection value or a pointer or pointer-to-member that points to either an immediate object or an immediate function.[src] An object is immediate if its complete object has either a constituent value that is consteval-only, or a constituent reference that refers to either an immediate object or an immediate function.[src] A variable is immediate if the object it declares is an immediate object.[src] Additional named universal character escapes Coroutine promise return functions ( return_void() , return_value() ) are no longer mutually exclusive ; this allows coroutines to return in different execution paths co_return; and co_return x; .[src] Adopt the recommendations of Section 3.1 of Unicode Technical Standard #55, Unicode Source Handling, allowing identifiers to be composed from additional Unicode characters Specify captures of a lambda to be declared in the order of appearance Allow language linkage for templates ; these may not necessarily work due to implementation-specific language linking rules, but the standard now allows it.[src] extern "C" { template void f(T t); template void g(void (*f)(T)); } // extern "Java" is implementation-dependent // could, for example, be used to implement Java generics extern "Java" { template void foo(T x, U y); } Clarification of floating-point overflow Nondeterministic pointer provenance Atomic operations and operations on volatile pointers are defined to yield and store prospective pointer values Defined load and store operations for invalid pointers A pointer tagging class std::pointer_tag_pair with constexpr support name_hint and stack_size_hint for std::thread and std::jthread , which allows setting a thread stack size and a thread name void make_hazard_pointer_batch(span batch); and void clear_hazard_pointer_batch(span batch); for handling creation/destruction of hazard pointer batches Bit permutation functions , SIMD bit permutation , and bit shifting copy() and fill() algorithms for std::mdspan A std::simd::iota type has_error() method for std::expected at() accessor for std::ranges::view_interface std::formatter<> specialization for std::error_code Change default floating-point representation in std::format() to be in standard form intptr_t and uintptr_t are now required to be implemented Signed character types are deprecated from use in iostreams Revert string support in std::constant_wrapper[src]
12 sentences · 12 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"C++29." encyclopegia.org, 2026, https://encyclopegia.org/wiki/c-29. Accessed 28 November 2026.
Chicago
"C++29." encyclopegia.org. Accessed November 28, 2026. https://encyclopegia.org/wiki/c-29.
APA
encyclopegia.org. (2026). C++29. Retrieved November 28, 2026, from https://encyclopegia.org/wiki/c-29
Accessed November 28, 2026 · CC BY-SA 4.0 · citation page · JSON