Keyword to avoid not null references

Adam D. Ruppe destructionator at gmail.com
Sat Apr 21 16:49:01 PDT 2012


On Saturday, 21 April 2012 at 23:27:38 UTC, Namespace wrote:
> But one thing: i missed there an invariant which check if t is 
> null.
> If i write "f.t = null;" no error occured.

Don't do that!

Maybe I should make t private...



More information about the Digitalmars-d-learn mailing list