[#mp_units-operator_lshift-0d0] = xref:mp_units.adoc[mp_units]::operator<< :relfileprefix: ../ :mrdocs: Streams the textual symbol of a dimension to a `std::basic_ostream`. == Synopses Declared in `<mp‐units/ext/fixed_string.h>` Streams the textual symbol of a dimension to a `std::basic_ostream`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename CharT, typename Traits, xref:mp_units/Unit.adoc[Unit] D> std::basic_ostream<CharT, Traits>& xref:mp_units/operator_lshift-02.adoc[operator<<]( std::basic_ostream<CharT, Traits>& os, D d); ---- [.small]#xref:mp_units/operator_lshift-02.adoc[_» more..._]# Stream insertion operator [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename CharT, std::size_t N> std::basic_ostream<CharT>& xref:mp_units/operator_lshift-03.adoc[operator<<]( std::basic_ostream<CharT>& os, xref:mp_units/basic_fixed_string-08.adoc[basic_fixed_string<CharT, N>] const& str); ---- [.small]#xref:mp_units/operator_lshift-03.adoc[_» more..._]# Stream insertion operator [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename CharT, typename Traits, auto R, typename Rep> std::basic_ostream<CharT, Traits>& xref:mp_units/operator_lshift-0c.adoc[operator<<]( std::basic_ostream<CharT, Traits>& os, xref:mp_units/quantity-01.adoc[quantity<R, Rep>] const& q) requires requires { os << q.numerical_value_ref_in(q.unit); }; ---- [.small]#xref:mp_units/operator_lshift-0c.adoc[_» more..._]# Stream insertion operator [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename CharT, typename Traits, auto R, auto PO, typename Rep> requires (PO == default_point_origin(R)) std::basic_ostream<CharT, Traits>& xref:mp_units/operator_lshift-0d9.adoc[operator<<]( std::basic_ostream<CharT, Traits>& os, xref:mp_units/quantity_point-08.adoc[quantity_point<R, PO, Rep>] const& qp) requires requires { os << qp.quantity_from_zero(); }; ---- [.small]#xref:mp_units/operator_lshift-0d9.adoc[_» more..._]# == Return Value `os` == Parameters [cols="1,4"] |=== | Name| Description | *os* | the output stream to write to | *d* | the dimension to render |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#