Skip to content

mp_units::natural::operator<<

Stream insertion operator

Synopsis

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

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

Note

This function is a hidden friend of dim_energy, declared inside an implementation-defined base class: it can be found only through argument-dependent lookup.

Return Value

Reference to the current output stream

Parameters

NameDescription
osAn output stream
dThe object to output