rend

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.

rend() runs in constant time.

Related Topics: begin, end, rbegin