[#mp_units-operator_lshift-0e0] = xref:mp_units.adoc[mp_units]::operator<< :relfileprefix: ../ :mrdocs: Stream insertion operator == Synopsis Declared in `<mp‐units/framework/quantity.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename CharT, typename Traits, auto R, typename Rep> std::basic_ostream<CharT, Traits>& 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); }; ---- == Return Value Reference to the current output stream == Parameters [cols=2] |=== | Name | Description | *os* | An output stream | *q* | The object to output |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#