MonoTimeImpl.opOpAssign

Adding or subtracting a Duration to/from a MonoTime results in a MonoTime which is adjusted by that amount.

  1. MonoTimeImpl opBinary(Duration rhs)
  2. MonoTimeImpl opOpAssign(Duration rhs)
    struct MonoTimeImpl(ClockType clockType)
    @safe ref
    opOpAssign
    pure nothrow @nogc
    (
    string op
    )
    if (
    op == "+" ||
    op == "-"
    )
Suggestion Box / Bug Report