Skip to content

mp_units::operator/

Division operator

Synopsis

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

template<typename FwdQ, Reference R, Quantity Q = std::remove_cvref_t<FwdQ>>
[[nodiscard]] constexpr Quantity auto operator/(FwdQ&& q, R rhs);

Note

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

Return Value

Note

The return value should not be discarded.

Parameters

NameDescription
qThe left operand
rhsThe right operand