Can the order in associative array change when keys are not midified?
Andrej Mitrovic via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jan 1 10:08:43 PST 2015
On 1/1/15, H. S. Teoh via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:
> If you need consistent ordering of values, you probably want a different
> data structure, like an ordered map
This one works nicely on D1, I'd imagine the D2 port works just the same:
https://github.com/SiegeLord/Tango-D2/blob/d2port/tango/util/container/SortedMap.d
More information about the Digitalmars-d-learn
mailing list