What can you "new"

Jarrett Billingsley jarrett.billingsley at gmail.com
Mon Mar 23 11:07:03 PDT 2009


On Mon, Mar 23, 2009 at 2:04 PM, Andrei Alexandrescu
<SeeWebsiteForEmail at erdani.org> wrote:
> Nothing.
>
> auto a = T(args);
>
> should create a T, whether T is a class, array, struct, what have you. This
> "new" business is lame, lame, lame.

Struct on stack vs. heap?



More information about the Digitalmars-d mailing list