operator>>()

System::operator»(std::istream&, String&) function

Gets a string from the input streamusing UTF-8 encoding.

std::istream & System::operator>>(std::istream &in, String &str)

Arguments

ParameterTypeDescription
instd::istream&An input stream object (instantiation of basic_ostream with char).
strString&A string to read from the input stream.

Return Value

An input stream from which the string was extracted.

System::operator»(std::wistream&, String&) function

Gets a string from the input stream.

std::wistream & System::operator>>(std::wistream &in, String &str)

Arguments

ParameterTypeDescription
instd::wistream&An input stream object (instantiation of basic_ostream with wchar_t).
strString&A string to read from the input stream.

Return Value

An input stream from which the string was extracted.

See Also