On Thursday, 7 November 2013 at 12:29:44 UTC, bearophile wrote:
Agustin:no property 'popFront' for type 'BinaryHeap!(uint[])'Try to use front and removeFront (I don't know why there is removeFront instead of popFront).Bye, bearophile
I had to implement a custom IterableBinaryHeap implementation. http://pastebin.com/GeVAeCch IterableBinaryHeap!(Array!uint, "a < b") heap; heap.insert(0); heap.insert(3); heap.insert(2); heap.insert(1); foreach(item; heap) writeln(item);