Iterators, Ranges, and Views
Understand how C++20 ranges reshape the standard library. Learn to combine algorithms and views for clean, efficient code.
4.6 (74 reviews)
Updated
1
The Iterator Pattern
The bridge between data layout and algorithms. Learn how iterators abstract memory traversal and the hierarchy of capabilities.
2
Standard Library Algorithms
An introduction to the C++ Standard Library's algorithms, lambda expressions, and handling memory safely with insertion iterators.
3
C++20 Ranges
Learn how C++20 Ranges and Views allow us to compose safe, lazy-evaluated data pipelines without sacrificing performance.
4
View Composition and Pipes
Learn how to build readable, lazy-evaluated data pipelines that execute in a single pass, and chain C++20 views together using the pipe operator
|5
Subranges and Range Interoperability
Bridge the gap between iterators and views using
std::ranges::subrange to turn any pair of iterators into a composable, safe C++20 View.