T[new]

grauzone none at example.net
Sun Aug 9 13:45:10 PDT 2009


That's great. I think this would finally fix some of the more pressing 
issues of D.

I have a question:

will

T[new] a;

allocate something? Or will the allocation of the hidden library array 
object delayed until the length is set to non null? If the library array 
object is not allocated, will a.ptr, a.capacity and a.length simply 
return null?



More information about the Digitalmars-d mailing list