mp_units::operator<<

Streams the textual symbol of a dimension to a std::basic_ostream.

Synopsis

Declared in <mp-units/framework/dimension.h>

template<
    typename CharT,
    typename Traits,
    Unit D>
std::basic_ostream<CharT, Traits>&
operator<<(
    std::basic_ostream<CharT, Traits>& os,
    D d);

Return Value

os

Parameters

NameDescription
osthe output stream to write to
dthe dimension to render