Example-driven notes for learning all of modern C++ (C++11 → C++26), mirroring cppreference.com. Each area below is a folder with its own index. We're working through them roughly in order of everyday usefulness.
Legend: ✅ done · 🚧 in progress · ⬜ planned
| Area | Status | What's in it |
|---|---|---|
| Containers | ✅ | vector, map, span, the lot |
| Strings | ✅ | string, string_view, char traits |
| Text processing | ✅ | format/print, charconv, regex, locales, text_encoding, C strings |
| Algorithms | ✅ | <algorithm>, <numeric>, parallel & ranges algos |
| Ranges | ✅ | views, adaptors, factories, pipelines (C++20) |
| Iterators | ✅ | categories, adaptors, iterator_traits |
| Utilities | ✅ | optional, variant, tuple, expected, function objects, callable wrappers (function_ref …) |
| Memory | ✅ | smart pointers, indirect/polymorphic, allocators, memory resources |
| Metaprogramming | ✅ | type_traits, constant evaluation, reflection (<meta>), ratio, integer_sequence |
| Numerics | ✅ | random, complex, <cmath>, <cfenv>, <bit>, saturation arithmetic, SIMD, linalg |
| Date & time | ✅ | <chrono>: durations, clocks, calendars, time zones; <ctime> |
| Input/output | ✅ | streams, files, string streams, filesystem, syncstream, print |
| Concurrency | ✅ | threads, mutexes, atomics, futures, RCU & hazard pointers |
| Execution | ✅ | senders/receivers (C++26) |
| Diagnostics | ✅ | exceptions, system_error, stacktrace, <debugging> |
| Language support | ✅ | numeric_limits, <=>, source_location, initializer_list, typeid, signals, setjmp |
| Concepts | ✅ | the standard concepts library (C++20) |
| Feature-test macros | ✅ | detecting what your compiler supports |
| Named requirements | ✅ | CopyConstructible, Compare, Hash … and how concepts relate |
| Area | Status | What's in it |
|---|---|---|
| Basic concepts | ✅ | comments, keywords, types, names/lookup, storage/linkage, object lifetime, erroneous behaviour, main, freestanding |
| Expressions | ✅ | value categories, operators, conversions, literals, constant exprs |
| Statements | ✅ | if/switch, loops, range-for, break/continue/return/goto |
| Declarations & initialization | ✅ | auto, const/constexpr, the many initializations |
| Functions | ✅ | overloading, default args, lambdas |
| Classes | ✅ | special members, RAII, inheritance, virtual, unions, deducing this, bit-fields, operator overloading |
| Templates | ✅ | function/class templates, variadics, CTAD, constraints & concepts |
| Exceptions | ✅ | throw/try/catch, noexcept, exception safety |
| Coroutines | ✅ | co_await/co_yield/co_return (C++20) |
| Modules | ✅ | import/export, partitions, import std;, building with GCC/Clang/CMake (C++20) |
| Preprocessor | ✅ | macros, includes, conditional compilation, #embed |
Conventions live in /CLAUDE.md: facts come from any good
source (cppreference, the standard draft, papers, vendor docs) and are verified
locally; pages follow a fixed skeleton; examples target the latest standard.