Functional Sort

Meta via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Nov 15 00:52:43 PST 2014


On Saturday, 15 November 2014 at 03:47:25 UTC, Steven 
Schveighoffer wrote:
> err... this isn't what you want. That will sort the range, and 
> then make a copy of the sorted range as an array.

Yes, I didn't see the the second constraint to not sort the 
original range.

Sort before .array -> original will be sorted.

Sort after  .array -> original will not be sorted.


More information about the Digitalmars-d-learn mailing list