rend

Syntax:

    #include <deque>
    reverse_iterator rend();
    const_reverse_iterator rend() const;

The function rend() returns a reverse_iterator to the beginning of the current deque (the position before the first element).

rend() runs in constant time.

Related Topics: begin, end, rbegin