omni::operator<<

Defined in omni/String.h

std::basic_ostream<char, std::char_traits<char>> &omni::operator<<(std::basic_ostream<char, std::char_traits<char>> &os, const string &str)

Output stream operator overload.

Outputs the contents of str to the stream os.

Parameters
  • os – Stream to output the string to.

  • str – The string to output.

Throws

std::ios_base::failure – if an exception is thrown during output.

Returns

os.