mp_units::si::get_unit¶
Synopsis¶
Declared in <mp-units/framework/unit_definitions.h>
template<Unit Self>
[[nodiscard]] consteval Self get_unit(Self self);
Note
This function is a hidden friend of milli_, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.
Return Value¶
Note
The return value should not be discarded.