18 lines
480 B
Markdown
18 lines
480 B
Markdown
# Module 12: C++20 Major Features
|
|
|
|
## Learning Goals
|
|
|
|
- Constrain templates with concepts
|
|
- Process sequences with the Ranges library
|
|
- Compare values with the spaceship operator `<=>`
|
|
- Pass non-owning views with `std::span`
|
|
|
|
## Exercises
|
|
|
|
| Exercise | Feature |
|
|
|----------|---------|
|
|
| `concepts` | Concepts and constrained templates |
|
|
| `ranges` | Views and range algorithms |
|
|
| `spaceship_operator` | `<=>` and comparison categories |
|
|
| `span` | std::span non-owning spans |
|