Searching the std.algorithm.BinaryHeap

Tomek Sowiński just at ask.me
Wed Jan 6 14:24:33 PST 2010


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


More information about the Digitalmars-d-learn mailing list