pop_back

Syntax:

    #include <list>
    void pop_back();

The pop_back method removes the last element of the list.

pop_back runs in constant time.

Related Topics: back, erase, pop_front, push_back