Le 17/09/2012 15:12, Andrei Alexandrescu a écrit :
On 9/17/12 6:52 AM, deadalnix wrote:
Regardless, the solution at this point is going to be to add
std.typecons.NonNullable. It would be in there already, but the pull
request
with it needed more work, and it hasn't been resubmitted yet.


I don't think this is implementable as a lib in a satisfying way.

It is, but it needs just a bit of language support in constructors.
Walter never got around to it.

Andrei

So it isn't. That was my point. You need the compiler to help you on that one.

Reply via email to