pop_back

C/C++ Reference

pop_back
Syntax:
  #include <vector>
  void pop_back();

The pop_back() function removes the last element of the vector.

pop_back() runs in constant time.

Related topics: