mp_units::get_unit¶
Synopses¶
Declared in <mp-units/framework/reference.h>
[[nodiscard]] consteval Unit auto get_unit(reference);
template<Unit Self>
[[nodiscard]] consteval Self get_unit(Self self);
template<Unit Self>
[[nodiscard]] consteval Self get_unit(Self self);
template<Unit Self>
[[nodiscard]] consteval Self get_unit(Self self);
template<Unit Self>
[[nodiscard]] consteval Self get_unit(Self self);
template<Unit Self>
[[nodiscard]] consteval Self get_unit(Self self);
template<Unit Self>
[[nodiscard]] consteval Self get_unit(Self self);
Return Value¶
Note
The return value should not be discarded.