SafeInt.opBinary

See safeOp.

  1. M opBinary(M right)
  2. SafeInt!(OpType!(N, op, BasicScalar!M), .max(policy, intFlagPolicyOf!M), bitOps && hasBitOps!M) opBinary(M right)
    struct SafeInt(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
    const @safe
    SafeInt!(OpType!(N, op, BasicScalar!M), .max(policy, intFlagPolicyOf!M),
    bitOps &&
    )
    opBinary
    (
    string op
    M
    )
    (
    const M right
    )
    if (
    isIntegral!N &&
    )
  3. SafeInt!(OpType!(M, op, N), policy, bitOps) opBinaryRight(M left)
  4. typeof(this) opOpAssign(M right)
  5. auto mulPow2(M exp)
  6. auto mulPow2(M exp)
  7. auto divPow2(M exp)
  8. auto divPow2(M exp)
  9. auto modPow2(M exp)
  10. auto modPow2(M exp)

Meta