DIP66 v1.1 (Multiple) alias this.

mogu via Digitalmars-d digitalmars-d at puremagic.com
Sun Jun 26 17:23:15 PDT 2016


On Monday, 27 June 2016 at 00:13:46 UTC, mogu wrote:
> On Friday, 8 May 2015 at 13:57:56 UTC, Andrea Fontana wrote:
>> Is "multiple alias this" implementation planned in near 
>> future? It could be useful for a project of mine :)
>
> I need it too, and also do static inheritance.
> http://wiki.dlang.org/DIP84

I implemented a limited version of multiple alias this:
https://github.com/mogud/MultiAliasThis/blob/master/mat.d

But it's only useful in composition. Static polymorphism(by 
implicit conversion in alias this) cannot work.


More information about the Digitalmars-d mailing list