If T[new] is the container for T[], then what is the container for T[U]?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Apr 25 06:16:39 PDT 2009


Stewart Gordon wrote:
> Andrei Alexandrescu wrote:
>> It looks we can't make it with only T[]. We need a genuine container 
>> type, and T[new] was suggested.
> <snip>
> 
> What do you mean by a "genuine container type"?

One with capacity and probably value semantics.

Andrei



More information about the Digitalmars-d mailing list