rbegin

Syntax:

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

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

rbegin() runs in constant time.

Related Topics: begin, end, rend