Jarrett Billingsley wrote:
On Mon, Mar 23, 2009 at 2:04 PM, Andrei Alexandrescu <seewebsiteforem...@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?
Allocating a struct on heap should invoke a function a la create!(T). Andrei