+=(_:_:)
Adds two values and stores the result in the left-hand-side variable.
Available because
Self
conforms toAdditiveArithmetic
.
static func += (lhs: inout Self, rhs: Self)
Parameters
- lhs
The first value to add.
- rhs
The second value to add.
Adds two values and stores the result in the left-hand-side variable.
Available because Self
conforms to AdditiveArithmetic
.
static func += (lhs: inout Self, rhs: Self)
The first value to add.
The second value to add.