You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A tracking issue following #1 (C++20) and the C++23 issue. Note: C++26 is still being finalized (DIS expected in 2026); the feature set may still change. Source of truth: https://en.cppreference.com/w/cpp/26.
语言特性 / Language
静态反射 / Static reflection(^^、splicing,P2996)
契约 / Contracts(P2900)
形参包索引 / pack indexing pack...[i]
= delete("reason")
占位符 _ / placeholder with no name
结构化绑定可作为条件 / structured bindings in conditions,结构化绑定中的包
⚠️Note: this checklist is a starting draft and must be reconciled against the official cppreference: C++26 page before use — C++26 is not yet finalized and the working draft is still changing. In particular, std::hive is uncertain (it has been targeted at C++26 repeatedly but may not have been voted in); verify it against cppreference before treating it as a C++26 feature.
Done — added Chapter 12 (C++26) as a forward-looking preview (bilingual), registered in the site build, with a prominent caveat that C++26 is not finalized and most features are unimplemented.
Runnable examples under code/12 (verified with clang++ -std=c++2c): pack indexing, = delete("reason"), placeholder _, saturation arithmetic. Headline features not yet available (reflection, contracts, std::execution, std::simd, std::inplace_vector, std::function_ref, etc.) are documented with availability caveats, and std::hive is flagged as uncertain for C++26.
All checklist items are now reflected in the chapter. As C++26 finalizes and toolchains catch up, the documented features should be revisited and upgraded to runnable examples. 🙏
Activity
changkun commentedon Jun 7, 2026
std::hiveis uncertain (it has been targeted at C++26 repeatedly but may not have been voted in); verify it against cppreference before treating it as a C++26 feature.book: fill Chapter 10 (C++20) and fix Contracts/TM factual errors
book: add Chapter 12 (C++26 preview)
book: cover remaining C++26 proposals in preview chapter
changkun commentedon Jun 7, 2026
Done — added Chapter 12 (C++26) as a forward-looking preview (bilingual), registered in the site build, with a prominent caveat that C++26 is not finalized and most features are unimplemented.
Runnable examples under
code/12(verified withclang++ -std=c++2c): pack indexing,= delete("reason"), placeholder_, saturation arithmetic. Headline features not yet available (reflection, contracts,std::execution,std::simd,std::inplace_vector,std::function_ref, etc.) are documented with availability caveats, andstd::hiveis flagged as uncertain for C++26.All checklist items are now reflected in the chapter. As C++26 finalizes and toolchains catch up, the documented features should be revisited and upgraded to runnable examples. 🙏