References in D

Jonathan M Davis jmdavisProg at gmx.com
Mon Sep 17 04:01:06 PDT 2012


On Monday, September 17, 2012 12:52:52 deadalnix wrote:
> Le 17/09/2012 02:23, Jonathan M Davis a écrit :
> > 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.

Then take it up with Walter and Andrei. After a number of discussions on this 
in the newsgroup (and probably outside it as well), they agreed that it was 
not worth putting non-nullable references in the language and that a library 
solution was sufficient.

- Jonathan M Davis


More information about the Digitalmars-d mailing list