rbegin

Syntax:

    #include <vector>
    reverse_iterator rbegin();
    const_reverse_iterator rbegin() const;

The rbegin() function returns a reverse_iterator to the end of the current vector.

rbegin() runs in constant time.

Related Topics: begin, end, rend