Sturcts with constructor (dmd1.x)

bearophile bearophileHUGS at lycos.com
Mon Jan 11 15:52:36 PST 2010


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 :-)

Bye,
bearophile



More information about the Digitalmars-d mailing list