State of std.container redesign

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Mar 30 12:39:09 PDT 2011


On 3/30/11 1:07 PM, Steven Schveighoffer wrote:
> On Wed, 30 Mar 2011 13:52:29 -0400, Ishan Thilina
> <ishanthilina at gmail.com> wrote:
>
>>> The main thing was that all of the containers would become classes
>>> rather than
>>> structs which used reference counting. RedBlackTree has already been
>>> changed
>>> (in git), but the others haven't been yet.
>>
>> Hi, I'm the one who is interested in the GSoC project "Containers".
>> Should the
>> containers that I ( or anyone who gets eligible to do the project )
>> implement be
>> based on structs or classes?
>
> Most definitely final classes. I think Andrei has already decided to
> change the existing ones to classes, and RedBlackTree already is a class
> in the source tree (not yet in the released version).
>
> -Steve

That is correct. We're looking for classes, preponderently final 
classes. Emphasis is not on hierarchy due to the many possible 
characteristics of containers, but instead on name conformance.

Andrei


More information about the Digitalmars-d mailing list