mp_units::utility::safe_int::operator*=

Multiplies the wrapped value by rhs, reacting to ErrorPolicy on overflow.

Synopsis

Declared in <mp-units/utility/safe_int.h>

constexpr
safe_int&
operator*=(safe_int rhs);

Return Value

a reference to *this, after the multiplication

Parameters

NameDescription
rhsthe value to multiply by