primitive type variables not nullable ?
Venkat Akkineni via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Feb 10 21:43:42 PST 2015
Thanks Gentlemen. That helped.
On Monday, 9 February 2015 at 00:00:00 UTC, bearophile wrote:
> 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