Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
2 * © Portions copyright (c) 2006-2007 Nokia Corporation. All rights reserved.
7 * This material is provided "as is", with absolutely no warranty expressed
8 * or implied. Any use is at your own risk.
10 * Permission to use or copy this software for any purpose is hereby granted
11 * without fee, provided the above notices are retained on all copies.
12 * Permission to modify the code and to distribute modified code is granted,
13 * provided the above notices are retained, and a notice that the code was
14 * modified is included with the above copyright notice.
18 #ifndef _STLP_IOSTREAM_H
19 # define _STLP_IOSTREAM_H
21 # ifndef _STLP_OUTERMOST_HEADER_ID
22 # define _STLP_OUTERMOST_HEADER_ID 0x2035
23 # include <stl/_prolog.h>
26 # ifdef _STLP_OWN_IOSTREAMS
34 // Those should be included all separately, as they do contain using declarations
35 # include <streambuf.h>
39 # ifndef _STLP_HAS_NO_NAMESPACES
41 # ifdef _STLP_BROKEN_USING_DIRECTIVE
42 using namespace _STLP_STD;
46 using _STLP_STD::cout;
47 using _STLP_STD::clog;
48 using _STLP_STD::cerr;
49 using _STLP_STD::iostream;
51 # ifndef _STLP_NO_WCHAR_T
52 using _STLP_STD::wcin;
53 using _STLP_STD::wcout;
54 using _STLP_STD::wclog;
55 using _STLP_STD::wcerr;
57 #endif //__SYMBIAN32__
60 # endif /* _STLP_HAS_NO_NAMESPACES */
62 // Obsolete classes for old-style backwards compatibility
65 class istream_withassign : public istream {
67 istream_withassign() : istream((streambuf*)0) {}
68 ~istream_withassign() {}
70 istream_withassign& operator=(istream& __s) {
71 ios::init(__s.rdbuf());
74 istream_withassign& operator=(streambuf* __s) {
80 class ostream_withassign : public ostream {
82 ostream_withassign() : ostream((streambuf*)0) {}
83 ~ostream_withassign() {}
85 ostream_withassign& operator=(ostream& __s) {
86 ios::init(__s.rdbuf());
89 ostream_withassign& operator=(streambuf* __s) {
95 class iostream_withassign : public iostream {
97 iostream_withassign() : iostream((streambuf*)0) {}
98 ~iostream_withassign() {}
99 iostream_withassign & operator=(ios& __i) {
100 ios::init(__i.rdbuf());
103 iostream_withassign & operator=(streambuf* __s) {
109 # elif ! defined (_STLP_USE_NO_IOSTREAMS)
110 # include <wrap_std/h/iostream.h>
113 # if (_STLP_OUTERMOST_HEADER_ID == 0x2035)
114 # include <stl/_epilog.h>
115 # undef _STLP_OUTERMOST_HEADER_ID
118 #endif /* _STLP_IOSTREAM_H */