if(arr) now a warning

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 30 10:51:05 PDT 2015


On Thursday, 30 April 2015 at 11:43:06 UTC, Kagamin wrote:
> On Thursday, 30 April 2015 at 02:51:33 UTC, Vladimir Panteleev 
> wrote:
>> OK, I'm tired of hearing this argument.
>
> Distinction between null and empty can be done, the problem is 
> it doesn't fly in mainstream.

if (myslice is []) would wheck for null slice.


More information about the Digitalmars-d mailing list