cppreference.com > C++ Algorithms > reverse
reverse
Syntax:
  #include <algorithm>
  void reverse( iterator start, iterator end );

The reverse() algorithm reverses the order of elements in the range [start,end).