This is an old version, view current version.

10.4 Compound division and assignment

Compound division and assignment works wherever the corresponding division 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