Removes the minimum value from a binary heap.
SDKs
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Core Foundation
Declaration
func CFBinaryHeapRemoveMinimumValue(_ heap: CFBinary Heap!)
Parameters
heap
The binary heap to use.
Discussion
If heap
contains several equal minimum values, only one of them is removed. If heap
is empty, this function does nothing.