pop

Syntax:

    #include <queue>
    void pop();

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

Related Topics: push