SafeInt.opUnary

See safeOp.

  1. SafeInt!(OpType!(op, N), policy, bitOps) opUnary()
  2. typeof(this) opUnary()
    struct SafeInt(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
    ref return @safe
    typeof(this)
    opUnary
    (
    string op
    )
    ()
    if (
    op.among!("++", "--")
    )
    if (
    isIntegral!N &&
    )
  3. int opCmp(M right)
  4. SafeInt!(CallType!(std.math.abs, N), policy, bitOps) abs()

Meta