The OpenD Programming Language

BinaryHeap.removeAny

Removes the largest element from the heap and returns it. The element still resides in the heap's store. For performance reasons you may want to use removeFront with heaps of objects that are expensive to copy.

struct BinaryHeap(alias less = "a < b", Store)
ref scope
removeAny
()
if ()

Meta