Multiple alias this is coming.

ponce via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Fri Sep 19 02:34:21 PDT 2014


On Thursday, 18 September 2014 at 13:44:10 UTC, Marc Schütz wrote:
> On Thursday, 18 September 2014 at 12:51:48 UTC, Rikki 
> Cattermole wrote:
>> On 18/09/2014 11:20 p.m., IgorStepanov wrote:
>>> I've created pull request, which introduces multiple alias 
>>> this.
>>> https://github.com/D-Programming-Language/dmd/pull/3998
>>> Please see the additional tests and comment it.
>>
>> Awesome was waiting for something like this!
>>
>> Also did we ever consider alias this = ...; syntax?
>
> It clashes with (not yet supported) aliasing of constructors.

Call me unimaginative, but I'm struggling to see any use case for 
multiple alias this, and I struggle even more for such 
constructors aliasing.


More information about the Digitalmars-d-announce mailing list