Struct initializers as expressions

Andrea Fontana via Digitalmars-d-learn digitalmars-d-learn at
Fri Dec 4 03:20:50 PST 2015

On Friday, 4 December 2015 at 10:42:46 UTC, Marc Sch├╝tz wrote:
> I suggest to make the struct name optional:

... but not forbidden. With templates or "auto" could be useful 
to force the type.

More information about the Digitalmars-d-learn mailing list