[#mp_units-unit_symbol] = xref:mp_units.adoc[mp_units]::unit_symbol :relfileprefix: ../ :mrdocs: == Synopsis Declared in `<mp‐units/framework/unit.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< xref:mp_units/unit_symbol_formatting.adoc[unit_symbol_formatting] fmt = unit_symbol_formatting{}, typename CharT = char, xref:mp_units/Unit.adoc[Unit] U> [[nodiscard]] consteval std::basic_string_view<CharT> unit_symbol(U); ---- == Return Value [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#