Stream insertion operator
Declared in <mp-units/framework/quantity_point.h>
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(); };
This function is a hidden friend of quantity_point, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.
Reference to the current output stream
| Name | Description |
|---|---|
| os | An output stream |
| qp | The object to output |