Is empty array null?

Ellery Newcomer ellery-newcomer at utulsa.edu
Mon Feb 27 13:30:36 PST 2012


On 02/27/2012 03:17 PM, Justin Whear wrote:
>
> null makes sense to me. If the length is null, where can the ptr member
> point to other than null?

In the case of empty array slices, ptr can point to anywhere. But then, 
empty array slices aren't null.


More information about the Digitalmars-d-learn mailing list