We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
BinaryHeap::drain
This type's other iterator-returning methods indicate that the iterator is arbitrarily ordered, but drain doesn't say either way:
drain
Clears the binary heap, returning an iterator over the removed elements.