[Issue 6384] std.traits.isComparable

2018-01-05 Thread d-bugmail--- via Digitalmars-d-bugs
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

[Issue 6384] std.traits.isComparable

2017-08-16 Thread via Digitalmars-d-bugs
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

[Issue 6384] std.traits.isComparable

2017-07-31 Thread via Digitalmars-d-bugs
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

[Issue 6384] std.traits.isComparable

2013-08-22 Thread d-bugmail
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

[Issue 6384] std.traits.isComparable

2011-07-26 Thread d-bugmail
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