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:57:54 PST 2015


On 1/1/15, Tobias Pankrath via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:
> You could implement an OrderedMap!(Key, Value) via
> RedBlackTree!(Tuple!(Key, Value), (a,b) => a[0] < b[0]).

We could add this as an alias into Phobos or perhaps as just a
documentation line on the website.


More information about the Digitalmars-d-learn mailing list