1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
hi(reverse) hi(reverse_copy)
itemization(
it() Header file:
tt(<algorithm>)
it() Function prototype:
itemization(
itt(void reverse([ExecPol,] BidirectionalIterator first,
BidirectionalIterator last);)
itt(OutputIterator reverse_copy([ExecPol,] BidirectionalIterator first,
BidirectionalIterator last, OutputIterator dest);)
)
it() Description:
itemization(
it() The first prototype: the order of the elements in the range
pointed to by rangett(first, last) are reversed.
it() The second prototype: elements in the range pointed to by
rangett(first, last) are inserted in reversed order into tt(dest), returning
the output iterator following the last insertion.
)
it() Example:
verbinclude(-a examples/reverse.cc)
)
|