[Issue 21695] New: Add three-way comparison function to std.functional

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Mar 10 00:54:57 UTC 2021


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 at puremagic.com
          Reporter: snarwin+bugzilla at 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.

--


More information about the Digitalmars-d-bugs mailing list