Thoughts on some code breakage with 2.074

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Thu May 11 16:12:22 PDT 2017


On Thursday, 11 May 2017 at 12:26:11 UTC, Steven Schveighoffer 
wrote:
> if(arr) -> same as if(arr.ptr)

Nope. It is:

if(arr) -> same as if(((cast(size_t) arr.ptr) | arr.length) != 0)

Should we conclude from the fact that absolutely nobody gets it 
right in this very forum that nobody will get it right outside ? 
I'll let you judge.



More information about the Digitalmars-d mailing list