Ref / NotNull struct

Namespace rswhite4 at googlemail.com
Mon May 7 12:16:59 PDT 2012


On Monday, 7 May 2012 at 18:46:55 UTC, Chris Cain wrote:
> OK, I tried a few things, but something that I think might need 
> some attention: UFCS is very problematic with this.
>
> https://gist.github.com/6198938b9c6d40a53ca1

I see. I think that is the same problem as "alias this". The 
compiler doesn't know what he has to do. I hope that 
functionality like this and the conversion from Foo to Ref!Foo 
and in reverse works in the next version. But I don't know how i 
can solve the problem. :/


More information about the Digitalmars-d-learn mailing list