...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Front Page / Changelog & History / Changes in Boost 1.32.0 Release / Iterator Protocol |
The library no longer guarantees or relies on the direct presence of advance / distance / next / prior / type members in iterator types; the following table summarises the new requirements:
Before | Now |
---|---|
i::type | deref::type |
i::next | next::type |
i::prior | prior::type |
i::advance |
advance::type |
i::distance |
distance::type |
i::category | i::category |