October 29, 2009 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)).
|
Copyright © 1999-2021 by the D Language Foundation