Files
cpp-course/modules/12_cpp20
..
2026-08-22 11:33:04 +03:00
2026-08-22 11:45:03 +03:00
2026-08-22 11:33:04 +03:00
2026-08-11 17:40:36 +03:00

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