reverse and reverse_copy

template <class BiIter>    void reverse(BiIter start, BiIter end); template <class BiIter, class OutIter>     OutIter reverse_copy(BiIter start, BiIter end, OutIter result); 

The reverse( ) algorithm reverses the order of the range specified by start and end.

The reverse_copy( ) algorithm copies in reverse order the range specified by start and end and stores the result in result. It returns an iterator to the end of result.

C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539 © 2008-2017.
If you may any questions please contact us: