digitalmars.D.bugs - [Issue 21695] New: Add three-way comparison function to std.functional
- d-bugmail puremagic.com (17/17) Mar 09 2021 https://issues.dlang.org/show_bug.cgi?id=21695
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: nobody puremagic.com Reporter: snarwin+bugzilla gmail.com 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. --
Mar 09 2021