Tag: range
2 posts
-
C++20 Range Adaptors: Composing Reusable Pipelines Without Fighting the Types
C++20 range adaptors as objects: calling vs piping, storing and composing adaptor closures, why a function cannot return two different pipelines, lifetime rules for returned views, and writing your own adaptor.
-
C++ Iterators: Categories, Operations, iterator_traits and Invalidation Bugs
C++ iterators explained: the five categories, iterator operations, iterator_traits, custom filter and transform iterators, and bugs like dereferencing end().