Nullable or Optional? Or something else?

Rainer Deyke rainerd at eldwood.com
Wed Sep 2 18:58:25 PDT 2009


Andrei Alexandrescu wrote:
> That's why I want to add no member functions to Optional. The test for
> null will be a free function.

I don't you can implement Optional without at least one (possibly
private) data member.  Does 'alias this' shadow private data members?


-- 
Rainer Deyke - rainerd at eldwood.com



More information about the Digitalmars-d mailing list