Returns the textual symbol of a dimension as a std::basic_string_view.
Declared in <mp-units/framework/dimension.h>
template<
dimension_symbol_formatting fmt = dimension_symbol_formatting{},
typename CharT = char,
Dimension D>
[[nodiscard]]
consteval
std::basic_string_view<CharT>
dimension_symbol(D d);
| Name | Description |
|---|---|
| fmt | the formatting options to use |
| CharT | the character type of the returned symbol |
| Name | Description |
|---|---|
| d | the dimension to render |