Is there a sorted map?
cym13 via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Mar 13 07:18:01 PDT 2016
On Sunday, 13 March 2016 at 14:11:14 UTC, Anonymouse wrote:
> On Sunday, 13 March 2016 at 13:44:35 UTC, cym13 wrote:
>> Note that implementing an (admitedly not perfect) ordered
>> associative array yourself really isn't much work:
>> https://github.com/cym13/miscD/blob/master/ordered_aa.d
>
> Unsigned integer comparison with -1 in the remove function, by
> the way. :)
Nice catch, thanks ^^
More information about the Digitalmars-d-learn
mailing list