The OpenD Programming Language

TickDuration.opOpAssign

The legal types of arithmetic for TickDuration using this operator overload are

TickDuration/long-->TickDuration
TickDuration/floating point-->TickDuration
  1. TickDuration opOpAssign(TickDuration rhs)
  2. void opOpAssign(T value)
  3. void opOpAssign(T value)
    struct TickDuration
    deprecated @safe pure
    void
    opOpAssign
    (
    string op
    T
    )
    ()
    if (
    op == "/" &&
    (
    __traits(isIntegral, T) ||
    __traits(isFloating, T)
    )
    )

Parameters

value T

The value to divide from this TickDuration.

Throws

TimeException if an attempt to divide by 0 is made.

Meta