SmartInt.opUnary

See smartOp.

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

Meta