GIF89a;
> for UnicodeString manipulation with the * C++ I/O stream API. */ #if U_IOSTREAM_SOURCE >= 199711 #if (__GNUC__ == 2) #include #else #include #include #endif U_NAMESPACE_BEGIN /** * Write the contents of a UnicodeString to a C++ ostream. This functions writes * the characters in a UnicodeString to an ostream. The UChars in the * UnicodeString are converted to the char based ostream with the default * converter. * @stable 3.0 */ U_IO_API std::ostream & U_EXPORT2 operator<<(std::ostream& stream, const UnicodeString& s); /** * Write the contents from a C++ istream to a UnicodeString. The UChars in the * UnicodeString are converted from the char based istream with the default * converter. * @stable 3.0 */ U_IO_API std::istream & U_EXPORT2 operator>>(std::istream& stream, UnicodeString& s); U_NAMESPACE_END #endif /* No operator for UChar because it can conflict with wchar_t */ #endif