Sorting with unaryFun predicate

Nordlöw via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 6 07:46:14 PST 2017


On Friday, 6 January 2017 at 15:36:42 UTC, Nordlöw wrote:
> Something like
>
>     x[].sort!"a.m";

Perhaps under a different name `sortBy`

    x[].sortBy!"a.m";



More information about the Digitalmars-d-learn mailing list