Sturcts with constructor (dmd1.x)

grauzone none at example.net
Mon Jan 11 23:22:13 PST 2010


bearophile wrote:
> dsimcha:
>> Struct constructors are D2 only.  That said, you can fake them in D1 by
>> overloading static opCall:
> 
> Struct constructors are probably the D2 feature I miss more in D1 :-)

Why?

> Bye,
> bearophile



More information about the Digitalmars-d mailing list