BinaryHeap is a range so it goes in std.range. Agree?
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sun Jun 13 07:38:50 PDT 2010
FeepingCreature wrote:
> On 08.06.2010 23:41, Simen kjaeraas wrote:
>> Now, my favorite way of dealing with this: Where would I look for a
>> binary heap if I wanted one? I would think of it as a container, and thus
>> check std.container.
>
> Law of Least Astonishment. Never forget.
I made BinaryHeap a container, which I recently realized is the best
decision. Unfortunately, the HTML documentation is not there:
http://www.digitalmars.com/d/2.0/phobos/std_container.html
Walter, could you please fix this?
Thanks,
Andrei
More information about the Digitalmars-d
mailing list