The function rotate is used to rotate the elements within a sequence.
template<class ForwardIterator> void rotate (ForwardIterator first, ForwardIterator middle, ForwardIterator last);
There is no return value.