Creating a growable binary heap or priority queue using Phobos?

SimonM user at example.net
Sun Nov 13 22:10:51 PST 2011


On 2011/11/14 01:55 AM, Jonathan M Davis wrote:
> On Monday, November 14, 2011 01:25:58 SimonM wrote:
>> What am I doing wrong?
>
> I don't know. I've never used BinaryHeap. I'd have to study it. I just noticed
> that you were trying to use treat Array as a range, which isn't going to work
> (regardless of whatever BinaryHeap does), so I tried to help you on that
> count.
>
> - Jonathan M Davis

Well it definitely helps; and now I understand it better as well, so thanks!


More information about the Digitalmars-d-learn mailing list