Skip to content

mp_units::operator<<

Stream insertion operator

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

Reference to the current output stream

Parameters

NameDescription
osAn output stream
dThe object to output