mp_units::utility::operator<<

Streams a safe_int's wrapped value to an output stream

Synopsis

Declared in <mp-units/utility/safe_int.h>

std::basic_ostream<CharT, Traits>&
operator<<(
    std::basic_ostream<CharT, Traits>& os,
    safe_int v);

Return Value

a reference to os

Parameters

NameDescription
osthe output stream to write to
vthe safe_int to stream