is it possible to sort a float range ?
someone
someone at somewhere.com
Thu Jun 24 02:33:42 UTC 2021
On Thursday, 24 June 2021 at 01:36:47 UTC, Ali Çehreli wrote:
> import std.algorithm;
> lnumRange.sort!(r"a > b"c);
> return lnumRange;
The above works OK. Funny thing indeed, at least to me, totally
unexpected.
```d
return lnumRange.sort!(r"a > b"c); /// does not work
return lnumRange.sort!(r"a > b"c).release(); /// works
```
Intuitive ? Not a bit LoL ! (not complaining at all, just making
fun of it)
More information about the Digitalmars-d-learn
mailing list