The most awesome "forward to member" solution?

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat May 2 22:50:01 PDT 2015


On 5/2/15 10:00 PM, Meta wrote:
> It seems like it'd be a lot cheaper and cleaner to just be able to alias
> the parent method.

Yeh, that's the first solution that comes to mind. alias doesn't work 
here but of course we could change the language.

> Also, it could probably be made a bit simpler with
> opDispatch.

I'd have to see the code, but my intuition is that things could get 
quite a bit more hairy.


Andrei



More information about the Digitalmars-d mailing list