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.
template<
typename CharT,
typename Traits,
Unit D>
std::basic_ostream<CharT, Traits>&
operator<<(
std::basic_ostream<CharT, Traits>& os,
D d);
Stream insertion operator
template<
typename CharT,
std::size_t N>
std::basic_ostream<CharT>&
operator<<(
std::basic_ostream<CharT>& os,
basic_fixed_string<CharT, N> const& str);
Stream insertion operator
template<
typename CharT,
typename Traits,
auto R,
typename Rep>
std::basic_ostream<CharT, Traits>&
operator<<(
std::basic_ostream<CharT, Traits>& os,
quantity<R, Rep> const& q)
requires requires { os << q.numerical_value_ref_in(q.unit); };
Stream insertion operator
template<
typename CharT,
typename Traits,
auto R,
auto PO,
typename Rep>
requires (PO == default_point_origin®)
std::basic_ostream<CharT, Traits>&
operator<<(
std::basic_ostream<CharT, Traits>& os,
quantity_point<R, PO, Rep> const& qp)
requires requires { os << qp.quantity_from_zero(); };
Return Value
os
Parameters
Name |
Description |
os |
the output stream to write to |
d |
the dimension to render |
Created with MrDocs