cppreference.com > C++ Queues > pop
pop
Syntax:
  void pop();

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