operator>>#

Fully qualified name: omni::operator>>

Defined in omni/String.h

std::basic_istream<char, std::char_traits<char>> &omni::operator>>(
std::basic_istream<char, std::char_traits<char>> &is,
string &str,
)#

Input stream operator overload.

Extracts a string from is into str.

Parameters:
  • is – Stream to get input from.

  • str – The string to put input into.

Throws:

std::ios_base::failure – if no characters are extracted or an exception is thrown during input.

Returns:

is.