Multiplies *this by a scalar value and assigns the result to *this.

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

*this

Parameters

Name

Description

val

the scalar value to multiply by

Created with MrDocs