Skip to content

mp_units::operator/

Division operator

Synopsis

Declared in <mp-units/framework/unit_definitions.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 prefixed_unit, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.

Parameters

NameDescription
lhsThe left operand
rhsThe right operand