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

Stream insertion operators

== Synopses

Declared in `&lt;mp&hyphen;units&sol;cartesian&lowbar;vector&period;h&gt;`

Stream insertion operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::basic&lowbar;ostream&lt;CharT&gt;&
xref:mp_units/operator_lshift-0e6.adoc[operator&lt;&lt;](
    std::basic&lowbar;ostream&lt;CharT&gt;& os,
    xref:mp_units/basic_fixed_string-08.adoc[basic&lowbar;fixed&lowbar;string] const& str);
----

[.small]#xref:mp_units/operator_lshift-0e6.adoc[_» more&period;&period;&period;_]#

Stream insertion operator


[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;&
xref:mp_units/operator_lshift-04.adoc[operator&lt;&lt;](
    std::basic&lowbar;ostream&lt;CharT, Traits&gt;& os,
    D d);
----

[.small]#xref:mp_units/operator_lshift-04.adoc[_» more&period;&period;&period;_]#

Stream insertion operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    typename CharT,
    typename Traits,
    auto R,
    typename Rep&gt;
std::basic&lowbar;ostream&lt;CharT, Traits&gt;&
xref:mp_units/operator_lshift-0e0.adoc[operator&lt;&lt;](
    std::basic&lowbar;ostream&lt;CharT, Traits&gt;& os,
    xref:mp_units/quantity-01.adoc[quantity&lt;R, Rep&gt;] const& q)
requires requires &lcub; os &lt;&lt; q&period;numerical&lowbar;value&lowbar;ref&lowbar;in(q&period;unit)&semi; &rcub;;
----

[.small]#xref:mp_units/operator_lshift-0e0.adoc[_» more&period;&period;&period;_]#

Stream insertion operator


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
std::ostream&
xref:mp_units/operator_lshift-0b.adoc[operator&lt;&lt;](
    std::ostream& os,
    xref:mp_units/cartesian_vector-08.adoc[cartesian&lowbar;vector] const& vec);
----

[.small]#xref:mp_units/operator_lshift-0b.adoc[_» more&period;&period;&period;_]#


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