📖 Book · cpp core · medium
🔑 C++ Keywords by Version — Specifiers & Attributes
Every interview-relevant keyword, specifier and attribute — grouped by the standard that introduced it, with its significance and a small example.
A single, consolidated reference to the C++ keywords / specifiers / attributes that change semantics, organized by standard (C++98/03 through C++23): explicit, mutable, volatile, virtual, inline (98); noexcept, constexpr, override/final, auto/decltype, nullptr (11); decltype(auto), [[deprecated]] (14); if constexpr, [[nodiscard]], structured bindings, inline variables (17); concepts, consteval, constinit, co_await/co_yield/co_return, [[likely]], explicit(bool) (20); [[assume]], if consteval, deducing this (23). Each with significance and a tiny example; live-runnable through C++20, plus an animated version timeline and links to the deep-dive lessons.
What this book covers
- 01The keyword timeline
- 02C++98/03 — the classic specifiers
- 03C++11 — the modern foundation
- 04C++14 — incremental polish
- 05C++17 — attributes & ergonomics
- 06C++20 — concepts, coroutines, hints
- 07C++23 — the latest polish
- 08One-page cheat sheet
Read it in full — runnable C++ + step-through animations
Every chapter of C++ Keywords by Version — Specifiers & Attributes ships complete, editable code you compile and run in the browser, plus the same in-depth animations as the lessons.