Type OperatorSwift
+=(_:_:)
Adds two values and stores the result in the left-hand-side variable.
Implements requirement of
AdditiveArithmetic
.
static func += (lhs: inout Self, rhs: Self)
Parameters
- lhs
The first value to add.
- rhs
The second value to add.