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 const pure nothrow @nogc
    opBinary
    (
    string op
    )
    if (
    op == "+" ||
    op == "-"
    )

Meta