Files
cpp-course/modules/14_cpp26
..
2026-08-24 19:27:20 +03:00
2026-08-24 19:43:33 +03:00
2026-08-11 17:40:36 +03:00
2026-08-11 17:40:36 +03:00

Module 14: C++26 and the Modern Frontier

Learning Goals

  • Push constexpr and consteval to compile-time limits
  • Chain operations on std::expected in a monadic style
  • Build expressive ranges pipelines for real data tasks
  • Specialize std::formatter for domain types (library direction through C++26)

Note: C++26 is still evolving. These exercises use C++23 as the baseline and focus on techniques and library directions that remain central in C++26.

Exercises

Exercise Topic
constexpr_frontier consteval, compile-time algorithms
monadic_expected Monadic expected composition
pipeline_ranges Advanced ranges pipelines
custom_formatter std::formatter specialization