Pike v8.0 release 1738

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()