Post-ctor ctor

bearophile bearophileHUGS at lycos.com
Mon Aug 8 12:59:25 PDT 2011


Andrei Alexandrescu:

> this(int a, int b, int c, int d) {
>    mixin(initFromParameters());
>    ...
> }
> 
> A similar macro could help assignments.

Do you see people using that in real code?

Bye,
bearophile


More information about the Digitalmars-d mailing list