rotate_copy [C++ Reference]
Keywords: stl,algorithm,rotate_copy
Date: 2009-10-09T01:40:32-0700

[[rotate_copy]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## rotate_copy

Syntax:

        #include <algorithm>
        output_iterator rotate_copy( forward_iterator start, forward_iterator middle, forward_iterator end, output_iterator result );

The rotate_copy() algorithm is similar to the rotate() algorithm, except that the range of elements is copied to result before being rotated.

Related Topics: rotate

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •