https://issues.dlang.org/show_bug.cgi?id=6384
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to dmd-cxx at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/24bfb294b7523307d10aaaf41ad2021c6cb38501
Fix Issue 6384 - add std.traits.isComparable
https://issues.dlang.org/show_bug.cgi?id=6384
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/24bfb294b7523307d10aaaf41ad2021c6cb38501
Fix Issue 6384 - add std.traits.isComparable
https://issues.dlang.org/show_bug.cgi?id=6384
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/24bfb294b7523307d10aaaf41ad2021c6cb38501
Fix Issue 6384 - add std.traits.isComparable
http://d.puremagic.com/issues/show_bug.cgi?id=6384
--- Comment #2 from hst...@quickfur.ath.cx 2013-08-22 20:16:25 PDT ---
There are actually at least two possible isComparable's that would be helpful
in signature constraints. One checks if ab compiles, the other checks if
a==b compiles.
I
http://d.puremagic.com/issues/show_bug.cgi?id=6384
--- Comment #1 from kenn...@gmail.com 2011-07-26 08:40:51 PDT ---
Note that `std.algorithm.sort` can accept arbitrary predicate, and you can use
something like
Complex!double[] cmplxarr;
...
sort!a.re b.re(cmplxarr);
If the