Stage 9: Modern C++
C++11 through C++23 features, each labelled with its standard.
- 01
Namespaces
20 minLocked: Complete "Common container-selection mistakes" first.
- 02
auto
20 minLocked: Complete "Namespaces" first.
- 03
Range-based loops
20 minLocked: Complete "auto" first.
- 04
nullptr
20 minLocked: Complete "Range-based loops" first.
- 05
enum class
20 minLocked: Complete "nullptr" first.
- 06
Uniform initialization
20 minLocked: Complete "enum class" first.
- 07
constexpr
20 minLocked: Complete "Uniform initialization" first.
- 08
Type inference and decltype
20 minLocked: Complete "constexpr" first.
- 09
Lambda captures
20 minLocked: Complete "Type inference and decltype" first.
- 10
Structured bindings
20 minLocked: Complete "Lambda captures" first.
- 11
optional
20 minLocked: Complete "Structured bindings" first.
- 12
variant and tuple
20 minLocked: Complete "optional" first.
- 13
Smart pointers
20 minLocked: Complete "variant and tuple" first.
- 14
Move semantics
20 minLocked: Complete "Smart pointers" first.
- 15
Perfect-forwarding concepts
20 minLocked: Complete "Move semantics" first.
- 16
Templates
20 minLocked: Complete "Perfect-forwarding concepts" first.
- 17
Function templates
20 minLocked: Complete "Templates" first.
- 18
Class templates
20 minLocked: Complete "Function templates" first.
- 19
Template specialization concepts
20 minLocked: Complete "Class templates" first.
- 20
Concepts and constraints
20 minLocked: Complete "Template specialization concepts" first.
- 21
Modules overview
20 minLocked: Complete "Concepts and constraints" first.
- 22
Modern C++ best practices
20 minLocked: Complete "Modules overview" first.
Level up this stage
- Debugging: Doubling does nothing (intermediate)
- Debugging: Counter lambda (advanced)
- Revise for exams: MCQs, short questions and past-paper programs