Trouble checking for null-ness
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jul 25 05:45:36 PDT 2016
static if (is(typeof(r is null))) { ...you can do your assert
here... }
More information about the Digitalmars-d-learn
mailing list