Divides a reference by a unit
Declared in <mp-units/framework/reference.h>
template<Unit U2>
[[nodiscard]]
consteval
/* implementation-defined */
operator/(
reference r,
U2 u2);
This function is a hidden friend of reference, declared only inside that class: it can be found only through argument-dependent lookup.
a reference resulting from dividing the quantity specification and the unit
The return value should not be discarded.
| Name | Description |
|---|---|
| r | the reference to divide |
| u2 | the unit to divide by |