18 lines
482 B
Markdown
18 lines
482 B
Markdown
# Module 10: C++14 Improvements
|
|
|
|
## Learning Goals
|
|
|
|
- Write generic lambdas with `auto` parameters
|
|
- Use return type deduction with `auto`
|
|
- Prefer `std::make_unique` for heap ownership
|
|
- Read numeric literals with digit separators
|
|
|
|
## Exercises
|
|
|
|
| Exercise | Feature |
|
|
|----------|---------|
|
|
| `generic_lambdas` | Generic lambda parameters |
|
|
| `auto_return` | Decltype(auto) return deduction |
|
|
| `make_unique` | Factory helpers |
|
|
| `digit_separators` | Readable numeric literals |
|