Share via


rotate_copy (STL/CLR)

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at rotate_copy (STL/CLR).

Exchanges the elements in two adjacent ranges within a source range and copies the result to a destination range.

Syntax

template<class _FwdIt, class _OutIt> inline  
    _OutIt rotate_copy(_FwdIt _First, _FwdIt _Mid, _FwdIt _Last,  
        _OutIt _Dest);  

Remarks

This function behaves the same as the STL function rotate_copy. For more information, see rotate_copy.

Requirements

Header: <cliext/algorithm>

Namespace: cliext

See Also

algorithm (STL/CLR)