2 Copyright 2010 Neil Groves
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 [section:counting_range counting_range]
11 template< class Incrementable > inline
12 iterator_range< counting_iterator<Incrementable> >
13 counting_range(Incrementable first, Incrementable last);
15 template< class SinglePassRange > inline
16 iterator_range< counting_iterator<typename range_iterator<SinglePassRange>::type >
17 counting_range(const SinglePassRange& rng);
19 template< class SinglePassRange > inline
20 iterator_range< counting_iterator<typename range_iterator<SinglePassRange>::type >
21 counting_range(SinglePassRange& rng);
26 `counting_range` is a function to generator that generates an `iterator_range` wrapping a `counting_iterator` (from Boost.Iterator).
30 Defined in header file `boost/range/counting_range.hpp`
32 [heading Requirements]
34 # `Incrementable` is a model of the `Incrementable` Concept.