SmartInt.abs

See smartOp.

  1. typeof(this) opUnary()
  2. SmartInt!(Signed!N, policy, bitOps) opUnary()
  3. typeof(this) opUnary()
  4. SmartInt!(Unsigned!N, policy, bitOps) abs()
    struct SmartInt(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
    SmartInt!(Unsigned!N, policy, bitOps)
    abs
    const pure @safe nothrow @nogc
    (
    )
    if (
    isIntegral!N &&
    isUnqual!N
    )

Meta