Initial Course

This commit is contained in:
David Gil de Gómez Pérez
2026-08-11 17:40:36 +03:00
commit 9aed1d1d86
202 changed files with 3420 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# Module 11: C++17 Features
## Learning Goals
- Destructure tuples and pairs with structured bindings
- Model optional values with `std::optional`
- Represent alternatives with `std::variant`
- Use `if constexpr` and fold expressions
## Exercises
| Exercise | Feature |
|----------|---------|
| `structured_bindings` | Structured bindings |
| `optional` | std::optional |
| `variant` | std::variant + std::visit |
| `if_constexpr` | Compile-time branching |