C++26 Preview
summary
C++26 compiles a long list of concrete changes already in the working draft: reflection with ^ and meta functions (opaque meta_info, enumerators, define_class for generated types, godbolt experimental compilers), contracts (P2900) with enforce/observe/ignore (pre/post conditions, contract_violation handler, consteval failures), format fixes (compile-time checks, safe runtime-format API), string and string_view plumbing (subview, operator+), BLAS-backed linear algebra via mdspan, senders/receivers (p2300) in wording review; some features are implemented, others near feature freeze.
AI-written summary · about
chapters (27)
- 0:00Introduction
- 1:06C++26 Status and Plan
- 4:38Core Language Priorities
- 9:44Language Feature Updates
- 12:51Variadic Friend Declarations
- 14:05Improved Deleted Functions
- 16:32Pack Indexing
- 18:18Static Storage Initializers
- 24:52Template Concept Parameters
- 27:40Contracts MVP
- 38:04Reflection MVP
- 53:56Library Improvements
- 55:20String View Enhancements
- 56:29String and Bitset Updates
- 58:58Character Conversion
- 1:00:39String Conversion Updates
- 1:01:53Format Library Enhancements
- 1:04:48Additional Format Features
- 1:07:20Math and Numerics
- 1:08:35Bitset Rotations
- 1:10:04Linear Algebra
- 1:12:45In-Place Vector
- 1:14:04Container Enhancements
- 1:15:48Range Enhancements
- 1:17:48Concurrency Updates
- 1:19:24General Utilities
- 1:21:59Constexpr and Final Notes
related talks
01h 00mC++17, part 1: The Language Features
01h 04mWelcome to v1.0 of the meta::[[verse]]!
38mWhat's New In C++23
01h 09m“Compile-time programming and reflection in C++20 and beyond”
49mC++17 Features (part 1 of 2)
01h 39m“Thoughts on a more powerful and simpler C++ (5 of N)”
42mC++ Horizons
04mC++20 - or not
