Duration.opOpAssign
- Duration opOpAssign(const scope D rhs)
struct Duration
@safe pure ref
opOpAssign
nothrow @nogc
if (
((op == "+" ||
op == "-"
||
op == "%"
) &&
) ||
((op == "+" ||
op == "-"
) &&
) )
- Duration opOpAssign(long value)
coretimeDuration
functionsstatic functionstemplates
Suggestion Box / Bug Report
Adds, subtracts or calculates the modulo of two durations as well as assigning the result to this Duration.
The legal types of arithmetic for Duration using this operator are