Auto constructor [Was: Archetype language]

Daniel Gibson metalcaedes at gmail.com
Mon Mar 21 03:26:34 PDT 2011


Am 21.03.2011 11:09, schrieb KennyTM~:
> On Mar 21, 11 16:17, Don wrote:
>>
>> I agree. But unfortunately, the idea is a relatively complicated feature
>> with a lot of special cases. For example, this(this.bla, this.bla){}
> 
> 'int f(int x, int x) {}' is a syntax error. So should 'this(this.x, this.x){}'.
> 

and probably this(this.x, x){}


More information about the Digitalmars-d mailing list