Boost.Range documentation update iteration.

[SVN r61647]
This commit is contained in:
Neil Groves
2010-04-28 16:09:03 +00:00
parent adc4b5db3b
commit abc18532e4
169 changed files with 5356 additions and 2838 deletions

View File

@ -0,0 +1,31 @@
[section:reverse_copy reverse_copy]
[heading Prototype]
``
template<class BidirectionalRange, class OutputIterator>
OutputIterator reverse_copy(const BidirectionalRange& rng, OutputIterator out);
``
[heading Description]
`reverse_copy` copies the elements from `rng` in reverse order to `out`.
Returns the output iterator one passed the last copied element.
[heading Definition]
Defined in the header file `boost/range/algorithm/reverse_copy.hpp`
[heading Requirements]
* `BidirectionalRange` is a model of the __bidirectional_range__ Concept.
* `BidirectionalRange` is mutable.
* `OutputIterator` is a model of the `OutputIteratorConcept`.
[heading Complexity]
Linear. `reverse_copy` makes `distance(rng)` copies.
[endsect]