mp_units::operator/

Divides a reference by another reference

Synopsis

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

[[nodiscard]]
consteval
/* implementation-defined */
operator/(
    reference r1,
    reference<Q2, U2> r2);

Return Value

a reference resulting from dividing the quantity specifications and the units

NOTE

The return value should not be discarded.

Parameters

NameDescription
r1the reference to divide
r2the reference to divide by