foreach for string[string]AA

Anton Pastukhov via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Feb 28 10:16:45 PST 2017


On Tuesday, 28 February 2017 at 17:16:43 UTC, Daniel Kozák wrote:
> V Tue, 28 Feb 2017 15:15:00 +0000
> Anton Pastukhov via Digitalmars-d-learn
> <digitalmars-d-learn at puremagic.com> napsáno:
>
>> I can't see the logic in AA foreach order. Consider this code:
>> ...
>> Output:
>> three
>> two
>> one
>> four
>> 
>> I was sure output should be
>> one
>> two
>> three
>> four
>
> https://forum.dlang.org/post/xbanhtkvrizyqjcibsck@forum.dlang.org

Thank you for the link, it was informative reading. It's a pity 
that still there is no ordered AA at least as a library type.


More information about the Digitalmars-d-learn mailing list