reverse_copy [C++ Reference]
Keywords: stl,algorithm,reverse_copy
Date: 2009-10-09T01:34:08-0700

## reverse_copy

Syntax:

        #include <algorithm>
        output_iterator reverse_copy( bidirectional_iterator start, bidirectional_iterator end, output_iterator result );

The reverse_copy() algorithm copies the elements in the range [start,end) to result such that the elements in the new range are in reverse order.

The return value of the reverse_copy() function is an iterator the end of the new range.

Related Topics: reverse