UInt.opCmp

Compares this UInt with another UInt of the same size or an unsigned 64-bit integer, returning -1, 0, or 1.

  1. auto opCmp(UInt!size rhs)
  2. auto opCmp(ulong rhs)
    struct UInt(size_t size)
    const scope
    static if(size >= 64)
    opCmp
    (
    ulong rhs
    )
    if (
    size % (size_t.sizeof * 8) == 0 &&
    size >= size_t.sizeof * 8
    )