Post-ctor ctor

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Mon Aug 8 13:13:40 PDT 2011


On 8/8/11 1:59 PM, bearophile wrote:
> 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?

Yes.

Andrei


More information about the Digitalmars-d mailing list