Divides a reference by another reference

Synopsis

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

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

This function is a hidden friend of reference, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

a reference resulting from dividing the quantity specifications and the units

Note

The return value should not be discarded.

Parameters

Name

Description

r1

the reference to divide

r2

the reference to divide by

Created with MrDocs