mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-5723 Replace iostream by istream, ostream to avoid static constructors
X-SVN-Rev: 21612
This commit is contained in:
parent
8988a12e7b
commit
81cb18307a
1 changed files with 5 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
**********************************************************************
|
||||
* Copyright (C) 2001-2006 International Business Machines
|
||||
* Copyright (C) 2001-2007 International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
**********************************************************************
|
||||
* FILE NAME : ustream.h
|
||||
|
@ -27,7 +27,8 @@
|
|||
*/
|
||||
|
||||
#if U_IOSTREAM_SOURCE >= 199711
|
||||
#include <iostream>
|
||||
#include <istream>
|
||||
#include <ostream>
|
||||
|
||||
U_NAMESPACE_BEGIN
|
||||
|
||||
|
@ -50,7 +51,8 @@ U_IO_API std::istream & U_EXPORT2 operator>>(std::istream& stream, UnicodeString
|
|||
U_NAMESPACE_END
|
||||
|
||||
#elif U_IOSTREAM_SOURCE >= 198506
|
||||
#include <iostream.h>
|
||||
#include <istream.h>
|
||||
#include <ostream.h>
|
||||
|
||||
U_NAMESPACE_BEGIN
|
||||
U_IO_API ostream & U_EXPORT2 operator<<(ostream& stream, const UnicodeString& s);
|
||||
|
|
Loading…
Add table
Reference in a new issue