Skip to content

mp_units::operator*

Multiplication operator

Synopsis

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

template<Reference R, typename Rep>
  requires RepresentationOf<std::remove_cvref_t<Rep>, get_quantity_spec(R{})>
constexpr auto operator*(R lhs, Rep && rhs) = delete;

Note

This function is a hidden friend of reference, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.

Parameters

NameDescription
lhsThe left operand
rhsThe right operand