[Issue 17204] New: std.functional: gte (greater than or equals), lte (less than or equals) and ne (not equals)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Feb 19 14:52:49 PST 2017


https://issues.dlang.org/show_bug.cgi?id=17204

          Issue ID: 17204
           Summary: std.functional: gte (greater than or equals), lte
                    (less than or equals) and ne (not equals)
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: greeenify at gmail.com

While not very common as lowerThan and easy to do it on ones own, the existence
of lessThan, greaterThan, equalTo nearly begs the question on why lte (or
lessOrEqual) and gte (or greaterOrEqual) and (notEqualsTo) aren't on the list -
especially because the underlying, private implementation `safeOp` supports
them.

--


More information about the Digitalmars-d-bugs mailing list