reverse

C++ Reference

reverse
Syntax:
  #include <list>
  void reverse();

The function reverse() reverses the list, and takes linear time.

Related topics: