Getting NotNull Right

Adam D. Ruppe destructionator at gmail.com
Wed Feb 5 14:12:58 PST 2014


On Wednesday, 5 February 2014 at 21:58:08 UTC, Nordlöw wrote:
> Members of a derived class T become inaccessible in NotNull!T 
> with this approach. Do you have any clue to why?

aaah, of course, now alias this returns the base class instead of 
the derived one. We could possibly work around it with opDispatch 
forwarding to the methods... or think of a new approach for the 
implicit conversion.

blargh, i don't have a good answer right now


More information about the Digitalmars-d-learn mailing list