Tag: C++26
3 posts
-
C++26 Contracts: pre, post and contract_assert, Evaluation Semantics and Runtime Cost
How to state preconditions and postconditions with C++26 Contracts (P2900): pre, post, contract_assert, the four evaluation semantics, the violation handler, and what the adopted design leaves out (old values, class invariants).
-
C++26 Is Finalized: Reflection, Contracts, std::execution and Other Key Changes
What C++26 adds: static reflection, Contracts, erroneous behavior for uninitialized reads, standard library hardening, and std::execution, with code examples, the compiler situation as of September 2026, and what existing projects can do now.
-
C++26 Reflection Basics: the ^^ Operator, std::meta::info and template for
The actual syntax of C++26 static reflection (P2996): the ^^ operator and std::meta::info, identifier_of, nonstatic_data_members_of with access_context, [: :] splices, template for with define_static_array, [[=...]] annotations, compiler support, and C++20 alternatives.