Empty VS null array?
David Nadlinger
code at klickverbot.at
Fri Oct 18 13:34:44 PDT 2013
On Friday, 18 October 2013 at 20:09:37 UTC, Blake Anderton wrote:
> I agree a null value and empty array are separate concepts […]
Yes, null values are a different concept, and slices being value
types, there isn't really one for them. I'm torn on whether
allowing conversion of arrays to pointers for the purpose of null
comparison was a good idea or not.
David
More information about the Digitalmars-d
mailing list