mp_units::operator*

Multiplication operator

Synopsis

Declared in <mp-units/framework/reference.h>
template<
    typename FwdRep,
    Reference R,
    RepresentationOf<get_quantity_spec(R{})> Rep = std::remove_cvref_t<FwdRep>>
requires (!detail::OffsetUnit<decltype(get_unit(R{}))>)
[[nodiscard]]
constexpr
quantity<R{}, Rep>
operator*(
    FwdRep&& lhs,
    R r);


Return Value

A quantity

Parameters

Name Description
lhs The left operand
r The right operand

Created with MrDocs