This is an old version, view current version.
10.3 Compound multiplication and assignment
Compound multiplication and assignment works wherever the corresponding multiplication and assignment would be well formed.
void
operator*=
(T x, U y)
x *= y
is equivalent to x = x * y
. Defined for all types T
and U
where T = T * U
is well formed.
Available since 2.17, complex signatures added in 2.30