Keyword to avoid not null references

Adam D. Ruppe destructionator at gmail.com
Sat Apr 21 16:51:07 PDT 2012


On Saturday, 21 April 2012 at 23:26:04 UTC, bearophile wrote:
> I think before putting something in Phobos it's generally 
> better to have used it in Real Code for some time.

I agree, but this comes up a LOT on the newsgroup,
so I figure we need to get something up there to point
people to.

> I am not sure a mostly-library-defined solution (mostly because 
> @disable is a built-in)

lol, all library implementations use language features!

> I will try to use your NotNull struct.

Thanks! Let you know what you think of it. I'm sure
we can do a good job with this.


More information about the Digitalmars-d-learn mailing list