if(arr) now a warning

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat Apr 11 21:14:57 PDT 2015


On 4/11/15 4:03 AM, w0rp wrote:
> Having thought about it more, I think that is why we cannot put the
> range primitives for slices into object.d. Because that makes it
> impossible to define the primitives differently, so that no
> auto-decoding occurs. At the moment, auto-decoding isn't part of the
> language, it's just written in to the standard library. This would
> change that.

That's where it should be. -- Andrei


More information about the Digitalmars-d mailing list