mp_units::operator/

Divides a reference by a unit

Synopsis

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

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

Return Value

a reference resulting from dividing the quantity specification and the unit

NOTE

The return value should not be discarded.

Parameters

NameDescription
rthe reference to divide
u2the unit to divide by