State of std.container redesign

Steven Schveighoffer schveiguy at yahoo.com
Wed Mar 30 11:07:26 PDT 2011


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


More information about the Digitalmars-d mailing list