Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
Front Page / Iterators

Iterators

Iterators are generic means of addressing a particular element or a range of sequential elements in a sequence. They are also a mechanism that makes it possible to decouple algorithms from concrete compile-time sequence implementations. Under the hood, all MPL sequence algorithms are implemented in terms of iterators. In particular, that means that they will work on any custom compile-time sequence, given that the appropriate iterator inteface is provided.