https://issues.dlang.org/show_bug.cgi?id=21695
Issue ID: 21695
Summary: Add three-way comparison function to std.functional
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
std.functional already contains the two-way comparison functions lessThan,
greaterThan, and equalTo. Since D supports three-way comparison natively via
opCmp, it should have a three-way comparison function too.
--