.sort vs sort(): std.algorithm not up to the task?
Andrew Edwards via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed Jun 7 19:23:03 PDT 2017
On Thursday, 8 June 2017 at 02:21:03 UTC, Stanislav Blinov wrote:
>
> aa.keys.sort() should just work as is: aa.keys returns a
> string[], and that's a random access range that can be sorted.
> What exactly is the error?
It does not ... I provided the code and related error message.
See the line right above "import std.algorith: sort;".
More information about the Digitalmars-d-learn
mailing list