Writes the textual symbol of a dimension to an output iterator.

Synopsis

Declared in <mp‐units/framework/dimension.h>

template<
    typename CharT = char,
    std::output_iterator<CharT> Out,
    Dimension D>
constexpr
Out
dimension_symbol_to(
    Out out,
    D d,
    dimension_symbol_formatting const& fmt = dimension_symbol_formatting{});

Return Value

an iterator past the last written character

Template Parameters

Name

Description

CharT

the character type of the output symbol

Parameters

Name

Description

out

the output iterator to write to

d

the dimension to render

fmt

the formatting options to use

Created with MrDocs