Skip to content

mp_units::quantity::operator*=

Multiplication assignment operator

Synopsis

Declared in <mp-units/framework/quantity.h>

template</* implementation-defined */ Value>
  requires requires(rep& a, const Value b) {
    { a *= b } -> std::same_as<rep&>;
  }
constexpr quantity& operator*=(Value const& val) &;

Return Value

Reference to the current object

Parameters

NameDescription
valThe right operand