vector::pop_back

vector::pop_back

void pop_back();

The member function removes the last element of the controlled sequence, which must be non-empty.

See the related sample program.