Question about the new AA behavior in 0.19

Derek Parnell derek at nomail.afraid.org
Thu Aug 10 17:40:35 PDT 2006


On Thu, 10 Aug 2006 16:31:45 -0700, Anton V Staaf wrote:

...

> every time you want
> to modify a multidimensional associative array you need to check each
> inner dimension to make sure it's initialized and initialize it if it is
> not.

Yes, that is what we need to do for now. Maybe in v2.0 of D we will have
some help from the compiler. And BTW, this applies to non-AA dynamic-length
arrays too.

-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocrity!"
11/08/2006 10:37:53 AM



More information about the Digitalmars-d mailing list