<alg> move
Move elements associated with a specified range.
template<class InputIterator, class OutputIterator>
OutputIterator move(
InputIterator _First,
InputIterator _Last,
OutputIterator _Dest
);
Parameters
_First
An input iterator that indicates where to start the range of elements to move._Last
An input iterator that indicates the end of a range of elements to move._Dest
The output iterator that is to contain the moved elements.
Property Value/Return Value
Returns an output iterator to the first element that was not moved.
Remarks
The template function evaluates *(_Dest + N) = move(*(_First + N))) once for each N in the range [0, _Last - _First), for strictly increasing values of N starting with the lowest value. It then returns _Dest + N. If _Destand _First designate regions of storage, _Dest must not be in the range [_First, _Last).
Requirements
Header: <algorithm>
Namespace: std