pop_back

Syntax:

    #include <vector>
    void pop_back();

The pop_back method removes the last element of the vector.

pop_back runs in constant time.

Related Topics: back, erase, push_back