priority_queue::pop

void pop();

The member function removes the first element of the controlled sequence, which must be non-empty, then reorders it.

See the related sample program.