Transparent cast from class to member pointer?
Alex
sascha.orlov at gmail.com
Mon Apr 15 15:18:29 UTC 2019
On Monday, 15 April 2019 at 15:07:10 UTC, Robert M. Münch wrote:
> On 2019-04-15 08:19:57 +0000, Ali ‡ehreli
>
> Bingo, I didn't know that I can do an 'alias this' using a
> function and not only a type... pretty cool. So, with several
> of these I can setup implicit conversions to different types.
> Thanks.
Well, as I know, multiple alias this won't work yet...
https://wiki.dlang.org/DIP66
More information about the Digitalmars-d-learn
mailing list