Express "Class argument may not be null" ?

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 8 13:34:03 PDT 2017


I was about to say "use NotNull" but there still isn't one in 
std.typecons. ugh.

But it is just a wrapper type that checks null in the contracts 
too, so you can do it at the function itself.


More information about the Digitalmars-d-learn mailing list