if(arr) now a warning
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Mon Apr 20 09:14:39 PDT 2015
On Sunday, 19 April 2015 at 08:05:46 UTC, Jonathan M Davis wrote:
> the C folks would think that
> the current behavior of it being equivalent to if(arr is null)
> would be more
> intuitive, since they're used to thinking of arrays as pointers.
Are they used to disregard value types too? I don't see it
working in C: http://ideone.com/rzSSlx
More information about the Digitalmars-d
mailing list