Skip to content

mp_units::operator*

Multiplication operator

Synopsis

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

template<Reference R, typename Q>
  requires Quantity<std::remove_cvref_t<Q>>
constexpr auto operator*(R lhs, Q&& q) = delete;

Note

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

Parameters

NameDescription
lhsThe left operand
qThe right operand