www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: associative arrays: iteration is finally here

Andrei Alexandrescu Wrote:

 Two other iterations are possible: by key and by value (in those cases 
 iter.front just returns a key or a value).

Well, AA already has properties keys and values and you can already iterate over them. I think, it's ok to restrict to opApply(int delegate(ref KeyType, ref ValueType)).
Oct 29 2009