Divides a unit by a reference

Synopsis

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

template<Unit U1>
[[nodiscard]]
consteval
/* implementation-defined */
operator/(
    U1 u1,
    reference r);
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 specification and the unit

Note

The return value should not be discarded.

Parameters

Name

Description

u1

the unit to divide

r

the reference to divide by

Created with MrDocs