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 for the latest Boost documentation.
PrevUpHomeNext

boost::cnv::range

boost::cnv::range is a consolidation of the [begin, end)-based ranges (such as std::string) and the sentry-based ranges (such as null-terminated C-style strings). It allows universal traversal of both types of ranges with

for (iterator s = range.begin(); s != range.sentry(); ++s)

without the penalty or the need for an extra traversal of the sentry-based ranges in order to find the end.

TODO


PrevUpHomeNext