SmartInt.opUnary

See smartOp.

  1. typeof(this) opUnary()
  2. SmartInt!(Signed!N, policy, bitOps) opUnary()
  3. typeof(this) opUnary()
    struct SmartInt(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
    ref
    typeof(this)
    opUnary
    return @safe
    (
    string op
    )
    (
    )
    if (
    op.among!("++", "--")
    )
    if (
    isIntegral!N &&
    isUnqual!N
    )
  4. SmartInt!(Unsigned!N, policy, bitOps) abs()

Meta