Decimal.opUnary

Modifies the decimal in place by adding or subtracting 1 for ++ and -- respectively.

  1. auto opUnary()
  2. Decimal!(Hook) opUnary()
    struct Decimal(Hook = Abort)
    ref
    Decimal!(Hook)
    opUnary
    (
    string op
    )
    ()
    if (
    op == "++" ||
    op == "--"
    )

Meta