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