cppreference.com
>
C++ Priority Queues
>
pop
pop
Syntax:
void pop();
The function pop() removes the top element of the priority queue and discards it.
Related topics:
push
top