Files
cpp-course/modules/14_cpp26/README.md
T

752 B

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