Associative value order

Patrick via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Aug 6 10:54:23 PDT 2014


I know that there is no prescribed order that the .values array 
will be sorted in, however I'm curious if the order is 
deterministic based on keys.

If I have two associative arrays with strings for keys and ints 
for values and they each have an identical set of keys, would the 
.values property return the values in the same order?


More information about the Digitalmars-d-learn mailing list