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 an older version of Boost and was released in 2023. The current version is 1.89.0.
template< class Incrementable > inline iterator_range< counting_iterator<Incrementable> > counting_range(Incrementable first, Incrementable last); template< class SinglePassRange > inline iterator_range< counting_iterator<typename range_iterator<SinglePassRange>::type > counting_range(const SinglePassRange& rng); template< class SinglePassRange > inline iterator_range< counting_iterator<typename range_iterator<SinglePassRange>::type > counting_range(SinglePassRange& rng);
counting_range is a function
to generator that generates an iterator_range
wrapping a counting_iterator
(from Boost.Iterator).
Defined in header file boost/range/counting_range.hpp
Incrementable is a
model of the Incrementable
Concept.