The OpenD Programming Language

TickDuration.opBinary

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

TickDuration/long-->TickDuration
TickDuration/floating point-->TickDuration
  1. TickDuration opBinary(TickDuration rhs)
  2. TickDuration opBinary(T value)
  3. TickDuration opBinary(T value)
    struct TickDuration
    deprecated @safe const pure
    opBinary
    (
    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