C++26 Preview - The Smaller Features
summary
C++26 is two-thirds through design and many items already appear in the working draft and in compilers: precise edits include compile-time diagnostics via static_assert with format, deleted-functions that carry a user message, a portable debugger header with is_debugger_present, structured bindings usable as a condition plus underscore as a discard, a tuple protocol enabling subview for complex and string_view-aware APIs, optional becoming a range, and a new in_place_vector with try‑push APIs; some breaking fixes target std::to_string behavior.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:54C++26 timeline
- 7:17Debugging improvements
- 14:47Structured bindings
- 23:11Language/library tweaks
- 25:40Template indexing
- 30:04String formatting
- 45:02Optional/container changes
- 53:34Ranges and views
- 58:52Compile-time math
- 1:00:23Q&A
related talks
54mC++26: an overview
01h 00mC++23 Standard Library Preview
01h 23mC++23 Standard Library Preview
01h 00mC++23 tools you would actually use
01h 01mC++23 - What's In It For You?
02h 02mPeering forward: C++'s next decade
59mC++20: the small things
01h 00mC++23: An Overview of Almost All New and Updated Features
