MonoTimeImpl.opBinary

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

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