associative arrays: iteration is finally here

Kagamin spam at here.lot
Thu Oct 29 09:26:25 PDT 2009


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)).



More information about the Digitalmars-d mailing list