mp_units::operator/

Divides a unit by a reference

Synopsis

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

[[nodiscard]]
consteval
/* implementation-defined */
operator/(
    U1 u1,
    reference r);

Return Value

a reference resulting from dividing the quantity specification and the unit

NOTE

The return value should not be discarded.

Parameters

NameDescription
u1the unit to divide
rthe reference to divide by