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

Name

Description

val

The right operand

Created with MrDocs