sorting a mutable array of immutable objects
Anonymouse via Digitalmars-d
digitalmars-d at puremagic.com
Wed Apr 20 05:51:43 PDT 2016
On Wednesday, 20 April 2016 at 12:34:28 UTC, Anonymouse wrote:
> On Wednesday, 20 April 2016 at 10:32:42 UTC, Jeff Thompson [...]
> Also note that sort (std.algorithm.sorting : sort) returns a
> range and doesn't sort in place.
>
> (Lastly this is probably more at home in the Learn forum.)
It does sort in place as well apparently, my bad.
More information about the Digitalmars-d
mailing list