Template Function ecl::interfaces::operator<<(OutputStream&, FormatFloat<N>&)

Function Documentation

template<typename OutputStream, typename N>
OutputStream &ecl::interfaces::operator<<(OutputStream &ostream, FormatFloat<N> &formatter)

Friend function which allows a stream to act on the formatter to produce the formatted result. This works on normal c++ streams as well as TextStreams.

Parameters
  • ostream – : the stream.

  • formatter – : the formatter with prespecified format parameters and input value.

Returns

OutputStream& : return the stream that was utilised.