primitive type variables not nullable ?
bearophile via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Feb 8 15:59:59 PST 2015
Tobias Pankrath:
> Check for null with (x is null) not via printing to stdout.
In most cases instead of checking dynamic arrays for null, it's
better to use std.array.empty.
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list