Syntax:
#include <list> reverse_iterator rend(); const_reverse_iterator rend() const;
The function rend() returns a reverse_iterator to an element just before the first element of the current list.
rend() runs in constant time.
Related Topics: begin, end, rbegin