Pike v8.1 release 6

Method ADT.Heap()->pop()


Method pop

mixed pop()

Description

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

Throws

Throws an error if the heap is empty.

See also

low_pop(), peek(), push(), remove()