Rebinds a quantity to a reference obtained by multiplying its own reference by R
Declared in <mp-units/framework/reference.h>
template<
typename FwdQ,
Reference R,
Quantity Q = std::remove_cvref_t<FwdQ>>
[[nodiscard]]
constexpr
Quantity auto
operator*(
FwdQ&& q,
R r);
quantity holding the same numerical value as q, with reference Q::reference * R{}
The return value should not be discarded.
| Name | Description |
|---|---|
| q | quantity being rebound |
| r | reference to multiply the quantity's reference by |