reverse

C/C++ Reference

reverse
Syntax:
  #include <algorithm>
  void reverse( iterator start, iterator end );

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

Related topics: