[#mp_units-operator_lshift-04]
= xref:mp_units.adoc[mp&lowbar;units]::operator&lt;&lt;
:relfileprefix: ../
:mrdocs:

Stream insertion operator

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename CharT,
    typename Traits,
    xref:mp_units/Unit.adoc[Unit] D&gt;
std::basic&lowbar;ostream&lt;CharT, Traits&gt;&
operator&lt;&lt;(
    std::basic&lowbar;ostream&lt;CharT, Traits&gt;& os,
    D d);
----

== Return Value

Reference to the current output stream

== Parameters

[cols=2]
|===
| Name
| Description
| *os*
| An output stream
| *d*
| The object to output
|===


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