Thoughts on some code breakage with 2.074

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


On Thursday, 11 May 2017 at 12:21:46 UTC, Steven Schveighoffer 
wrote:
> I can't imagine anyone attempted to force this to break without 
> a loud backlash. I think if(ptr) is mostly universally 
> understood to mean the pointer is not null.
>
> -Steve

It is not a problem for pointer because for pointer identity and 
equality are the same thing. It isn't for slices.


More information about the Digitalmars-d mailing list