mp_units::get_unit¶
Synopsis¶
Declared in <mp-units/framework/reference.h>
[[nodiscard]] consteval Unit auto get_unit(reference);
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¶
Note
The return value should not be discarded.