rbegin

Syntax:

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

The rbegin() function returns a reverse_iterator to the end of the current map (the position of the last element).

rbegin() runs in constant time.

Related Topics: begin, end, rend