CXXIter 0.2
|
CXXIter is a ergonomic C++ Iterator interface for STL containers, similar to the iterators found in Rust or C#'s LINQ. It supports passing values by (const) reference or by using move semantics, which is tricky in some places, since references can not be stored in STL containers.
As soon as one entered CXXIter's chainable API, everything is reachable as a subfunction of the result returned by the previous chaining method.
To enter that API, one can either construct an iterator from a source container, or use one of the provided generator functions. See Sources & Generators for more information.
All of the chaining functionality is implemeneted by a common baseclass for all structs that implement the CXXIter::IteratorTrait. For an overview of all available functionality, have a look at CXXIter::IterApi.