string <-> null/bool implicit conversion

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 20 11:04:00 PDT 2015


On 8/20/15 1:50 PM, Steven Schveighoffer wrote:

> The "truthiness" of an array says it's true ONLY if both the pointer and
> length are 0.

Ugh, *false* only if they are both 0. If either are not zero, then it's 
true.

-Steve


More information about the Digitalmars-d mailing list