eliminating std.range.SListRange?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun May 30 15:33:22 PDT 2010


On 05/30/2010 02:01 PM, bearophile wrote:
> Andrei Alexandrescu:
>
>> It seems to me it doesn't bring anything noteworthy over
>> std.container.SList. Would anyone miss it if I erased it?
>
> One linked list is enough.

Sounds good.

> Can't the heap in std.algorithm be moved to the collections/containers?

The heap is a tad difficult to tackle. Most of the time you don't want 
to create a heap, but instead to organize an existing range as a heap. 
As such, the heap is not always obvious to think of as a container. I'm 
undecided on how to approach this.

Andrei


More information about the Digitalmars-d mailing list