Streams the textual symbol of a dimension to a std::basic_ostream.
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);
» more...
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);
» more...
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); };
» more...
Stream insertion operator
template<
typename CharT,
typename Traits,
auto R,
auto PO,
typename Rep>
requires (PO == default_point_origin(R))
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(); };
» more...
os
| Name | Description |
|---|---|
| os | the output stream to write to |
| d | the dimension to render |