www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Searching the std.algorithm.BinaryHeap

Dumb question: how do I find an element in a BinaryHeap (or in general  
traverse it)? It's not a range, so std.algorithm.find won't work. I don't  
want BinaryHeap.release() because it clears the heap.


Tomek
Jan 06 2010