Writes the textual symbol of a unit to an output iterator
Declared in <mp-units/framework/unit_text.h>
template<
typename CharT = char,
std::output_iterator<CharT> Out,
Unit U>
constexpr
Out
unit_symbol_to(
Out out,
U u,
unit_symbol_formatting const& fmt = unit_symbol_formatting{});
an iterator past the last character written
| Name | Description |
|---|---|
| CharT | the character type used to represent the symbol |
| Name | Description |
|---|---|
| out | the output iterator to write the symbol to |
| u | the unit to obtain the symbol of |
| fmt | the formatting options to use |