Learn C++ — Advanced
Design interfaces, collections and algorithms in modern C++. Manage data ownership and lifetimes, and use concurrency, coroutines and explicit report and serialization formats.
COURSE OVERVIEWREADY
Lessons: 60
Quizzes: 10
All steps: 70
$Ready to start
What you will learn
- Build constrained templates, concepts, operators and domain types, separating compile-time requirements from value validation and error handling.
- Control memory ownership, view lifetimes, object moves and exceptions using RAII, PImpl and appropriately chosen collections and memory resources.
- Design range algorithms, sorting, aggregation and rankings, and check their numerical boundaries, deterministic output and properties on fixed data.
- Use atomics, locks, synchronization mechanisms and coroutines, and create explicit text and binary formats, configuration and interfaces with C linkage.
SYLLABUS / 70
Course curriculum
Work through the curriculum step by step. Completed stages are marked, and you can open the next available stage.
60 lessons10 quizzes70 steps total
- 01LESSONLESSON 1: Concepts — precise type contracts in C++Available now
- 02LESSONLESSON 2: Migrating from SFINAE to Concepts (clearer constraints and better diagnostics)Locked
- 03LESSONLESSON 3: Template parameters: auto, NTTP and CTAD — deducing types and valuesLocked
- 04LESSONLESSON 4: Parameter packs and fold expressions — aggregating many arguments with a single expressionLocked
- 05LESSONLESSON 5: The metaprogrammer's toolkit: traits, detection, and type listsLocked
- 06LESSONLESSON 6: constexpr algorithms in practice — you precompute dictionaries and routing tablesLocked
- 01QUIZQuiz 1: lessons 1–6Locked
- 07LESSONLESSON 7: Consteval, constinit, and inline variables — controlling initialization and the ODRLocked
- 08LESSONLESSON 8: Static_assert and Diagnostic MessagesLocked
- 09LESSONLESSON 9: Specializations and Partial SpecializationsLocked
- 10LESSONLESSON 10: Organizing an API with Namespaces and a detail LayerLocked
- 11LESSONLESSON 11: ABI-stable interfaces (PImpl)Locked
- 12LESSONLESSON 12: Strong types and UDL (units, IDs, currencies)Locked
- 02QUIZQuiz 2: lessons 7–12Locked
- 13LESSONLESSON 13: string_view, span, and ownership modelsLocked
- 14LESSONLESSON 14: Copy vs move in the API: value semanticsLocked
- 15LESSONLESSON 15: Exceptions, noexcept and guarantee levelsLocked
- 16LESSONLESSON 16: Object lifetime model, aliasing, alignmentLocked
- 17LESSONLESSON 17: std::bit_cast, endianness, and bit operationsLocked
- 18LESSONLESSON 18: std::pmr: memory resources and polymorphic allocatorsLocked
- 03QUIZQuiz 3: lessons 13–18Locked
- 19LESSONLESSON 19: Custom allocators, arenas, and pools — predictable memory managementLocked
- 20LESSONLESSON 20: Overriding new/delete and over-aligned typesLocked
- 21LESSONLESSON 21: Data-Oriented Design in C++ — arranging data for the cache instead of OOLocked
- 22LESSONLESSON 22: Heap vs stack: costs, elision, RVOLocked
- 23LESSONLESSON 23: Choosing an algorithm: nth_element, partial_sort, lower_boundLocked
- 24LESSONLESSON 24: Measuring time (<chrono>) without mistakesLocked
- 04QUIZQuiz 4: lessons 19–24Locked
- 25LESSONLESSON 25: Diagnosing “hot spots” without external toolsLocked
- 26LESSONLESSON 26: Ranges: composing view pipelinesLocked
- 27LESSONLESSON 27: A custom view adaptor and sentinels — extending ranges with custom transformationsLocked
- 28LESSONLESSON 28: Projections, comparisons, and the <=> operatorLocked
- 29LESSONLESSON 29: Ranges vs. classic algorithms — painless migrationLocked
- 30LESSONLESSON 30: Numeric streams: scans, aggregations, histograms — fast in-memory data analysisLocked
- 05QUIZQuiz 5: lessons 25–30Locked
- 31LESSONLESSON 31: Heterogeneous lookup and transparent comparators — string_view keys in map/set without copyingLocked
- 32LESSONLESSON 32: unordered_*: custom hash/equal and rehash strategyLocked
- 33LESSONLESSON 33: Node handles and splicing — moving elements between containers without allocationLocked
- 34LESSONLESSON 34: Priority queues, heaps, and schedules with SLALocked
- 35LESSONLESSON 35: Grouping sorted data and equal_range — reports for multiple records with the same keyLocked
- 36LESSONLESSON 36: Atomics and memory order — you understand happens-before and don't break the memory modelLocked
- 06QUIZQuiz 6: lessons 31–36Locked
- 37LESSONLESSON 37: Fences, atomic_ref, and atomics for shared_ptr – synchronization without mutexesLocked
- 38LESSONLESSON 38: Mutex, scoped_lock, and shared_mutex — critical sections without deadlocksLocked
- 39LESSONLESSON 39: Task coordination: counting_semaphore, latch, barrier, stop_token, and jthreadLocked
- 40LESSONLESSON 40: Parallel algorithms and execution policies — speeding up batches of dataLocked
- 41LESSONLESSON 41: Coroutines: co_await, co_yield, co_return — readable sequences of asynchronous operationsLocked
- 42LESSONLESSON 42: Generators built on coroutines (pull/push) — data streams without intermediate buffersLocked
- 07QUIZQuiz 7: lessons 37–42Locked
- 43LESSONLESSON 43: Task/awaitable and composition (when_all/when_any)Locked
- 44LESSONLESSON 44: Cancellation and timeouts with stop_token — designing a responsive APILocked
- 45LESSONLESSON 45: The futures ↔ coroutines bridge: integrating std::future with the new styleLocked
- 46LESSONLESSON 46: std::format and log templatesLocked
- 47LESSONLESSON 47: std::charconv — fast parsing and formatting of numbers without allocationLocked
- 48LESSONLESSON 48: Advanced std::filesystem — paths, permissions and the VFS modelLocked
- 08QUIZQuiz 8: lessons 43–48Locked
- 49LESSONLESSON 49: char8_t, UTF-8 and localization pitfallsLocked
- 50LESSONLESSON 50: Calendars and a fixed UTC offset with <chrono> in C++20 — a deterministic SLA scheduleLocked
- 51LESSONLESSON 51: Eliminating UB: lifetimes, pointers, and ranges — “always works” instead of “may work”Locked
- 52LESSONLESSON 52: Contracts without contracts: assert, types, and expectedLocked
- 53LESSONLESSON 53: Property tests on a deterministic corpusLocked
- 54LESSONLESSON 54: Failure modes: designing degradation, safe error paths, and retryLocked
- 09QUIZQuiz 9: lessons 49–54Locked
- 55LESSONLESSON 55: Human-friendly compile-time diagnostics – readable errors with concepts and static_assertLocked
- 56LESSONLESSON 56: C ↔ C++: extern "C", layout and standard-layoutLocked
- 57LESSONLESSON 57: Boundary design: PImpl and modules — stable boundaries, short builds, clean separationLocked
- 58LESSONLESSON 58: Serialization without libraries: text/binary, endianness, and <charconv>Locked
- 59LESSONLESSON 59: Plugins and extensibility: injection points, registries, and loading strategiesLocked
- 60LESSONLESSON 60: Configuration and feature flags with constexpr/UDLLocked
- 10QUIZQuiz 10: lessons 55–60Locked
- +EXAMConfirm your skills with an examPreparing with this course is optional. You can choose a certification exam for this language and level without completing the course or quizzes. Check your account access and confirm exam authorization.Other status