Initial Course
This commit is contained in:
@@ -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 |
|
||||
Reference in New Issue
Block a user