Method ADT.Priority_queue()->pop()


Method pop

ValueType pop()

Description

Removes and returns the item on top of the heap, which also is the smallest value in the heap.