forked from boostorg/range
Boost.RangeEx merged into Boost.Range
[SVN r60897]
This commit is contained in:
1 parent
1461479a17
commit
b0d1db7c2e
471 files changed
+48610
-2065
No files matched your search
@@ -0,0 +1,31 @@
|
||||
[section:counting_range counting_range]
|
||||
|
||||
[heading Prototype]
|
||||
|
||||
``
|
||||
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);
|
||||
``
|
||||
|
||||
[heading Description]
|
||||
|
||||
`counting_range` is a function to generator that generates an `iterator_range` wrapping a `counting_iterator` (from Boost.Iterator).
|
||||
|
||||
[heading Definition]
|
||||
|
||||
Defined in header file `boost/range/counting_range.hpp`
|
||||
|
||||
[heading Requirements]
|
||||
|
||||
# `Incrementable` is a model of the `Incrementable` Concept.
|
||||
|
||||
[endsect]
|
||||
Reference in new issue
Block a user