UInt.opOpAssign

bool overflow = a += b and bool overflow = a -= b operations.

  1. bool opOpAssign(UInt!size rhs, bool overflow)
  2. bool opOpAssign(size_t rhs)
  3. bool opOpAssign(ulong rhs)
  4. bool opOpAssign(UInt!rsize rhs, bool overflow)
    struct UInt(size_t size)
    @safe pure nothrow @nogc scope
    bool
    opOpAssign
    (
    string op
    size_t rsize
    )
    (
    UInt!rsize rhs
    ,
    bool overflow = false
    )
    if (
    (
    op == "+" ||
    op == "-"
    )
    &&
    rsize < size
    )
    if (
    size % (size_t.sizeof * 8) == 0 &&
    size >= (size_t.sizeof * 8)
    )
  5. size_t opOpAssign(size_t rhs, size_t carry)
  6. auto opOpAssign(ulong rhs)
  7. void opOpAssign(UInt!rhsSize rhs)
  8. uint opOpAssign(uint rhs, uint overflow)
  9. UInt!size opOpAssign(UInt!size rhs)
  10. UInt!size opOpAssign(size_t rhs)
  11. ref opOpAssign(ulong rhs)
  12. UInt!size opOpAssign(size_t shift)

Meta