Has AA .keys the same order as .values?

Rene Zwanenburg renezwanenburg at gmail.com
Mon Jul 30 09:24:26 PDT 2012


> Ordering is not guaranteed at all in AAs.

I don't want .keys and .values to have the same order as the 
order in which it was filled, I understand this is impossible. 
What I'd like is to have aa.values[i] == aa[aa.keys[i]]. I think 
this is easy to guarantee with typical AA implementations.


More information about the Digitalmars-d-learn mailing list