mp_units::unit_symbol¶
Synopsis¶
Declared in <mp-units/framework/unit_text.h>
template<unit_symbol_formatting fmt = unit_symbol_formatting{}, typename CharT = char, Unit U>
[[nodiscard]] consteval std::basic_string_view<CharT> unit_symbol(U);
Return Value¶
Note
The return value should not be discarded.