pop

C++ Reference

pop
Syntax:
  #include <stack>
  void pop();

The function pop() removes the top element of the stack and discards it.

Related topics: