[#mp_units-unit_symbol_to]
= xref:mp_units.adoc[mp&lowbar;units]::unit&lowbar;symbol&lowbar;to
:relfileprefix: ../
:mrdocs:

== Synopsis

Declared in `&lt;mp&hyphen;units&sol;framework&sol;unit&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename CharT = char,
    std::output&lowbar;iterator&lt;CharT&gt; Out,
    xref:mp_units/Unit.adoc[Unit] U&gt;
constexpr
Out
unit&lowbar;symbol&lowbar;to(
    Out out,
    U u,
    xref:mp_units/unit_symbol_formatting.adoc[unit&lowbar;symbol&lowbar;formatting] const& fmt = unit&lowbar;symbol&lowbar;formatting&lcub;&rcub;);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
