is it possible to sort a float range ?

someone someone at somewhere.com
Wed Jun 23 23:07:18 UTC 2021


On Wednesday, 23 June 2021 at 22:46:28 UTC, Steven Schveighoffer 
wrote:

> Use the `release` method:
>
> ```d
> return lnumRange.sort!(...).release;
> ```
>
> -Steve

Fantastic, issue solved, I previously used sort ascending even 
descending but first time on floats.

So I went and searched phobos docs:

auto release();
Releases the controlled range and returns it.

Not much clarification there.

Can you elaborate a bit if possible Steve ?


More information about the Digitalmars-d-learn mailing list