00001 // © 2016 and later: Unicode, Inc. and others. 00002 // License & terms of use: http://www.unicode.org/copyright.html 00003 /* 00004 ********************************************************************** 00005 * Copyright (C) 2001-2014 International Business Machines 00006 * Corporation and others. All Rights Reserved. 00007 ********************************************************************** 00008 * FILE NAME : ustream.h 00009 * 00010 * Modification History: 00011 * 00012 * Date Name Description 00013 * 06/25/2001 grhoten Move iostream from unistr.h 00014 ****************************************************************************** 00015 */ 00016 00017 #ifndef USTREAM_H 00018 #define USTREAM_H 00019 00020 #include "unicode/unistr.h" 00021 00022 #if !UCONFIG_NO_CONVERSION // not available without conversion 00023 00033 #if defined(__GLIBCXX__) 00034 namespace std { class type_info; } // WORKAROUND: http://llvm.org/bugs/show_bug.cgi?id=13364 00035 #endif 00036 00037 #include <iostream> 00038 00039 U_NAMESPACE_BEGIN 00040 00048 U_IO_API std::ostream & U_EXPORT2 operator<<(std::ostream& stream, const UnicodeString& s); 00049 00056 U_IO_API std::istream & U_EXPORT2 operator>>(std::istream& stream, UnicodeString& s); 00057 U_NAMESPACE_END 00058 00059 #endif 00060 00061 /* No operator for UChar because it can conflict with wchar_t */ 00062 00063 #endif
1.6.1