ReactOS  0.4.14-dev-593-g1793dcc
_iosfwd.h
Go to the documentation of this file.
1 #ifndef _STLP_INTERNAL_IOSFWD
2 #define _STLP_INTERNAL_IOSFWD
3 
4 #if defined (__sgi) && !defined (__GNUC__) && !defined (_STANDARD_C_PLUS_PLUS)
5 # error This header file requires the -LANG:std option
6 #endif
7 
8 // This file provides forward declarations of the most important I/O
9 // classes. Note that almost all of those classes are class templates,
10 // with default template arguments. According to the C++ standard,
11 // if a class template is declared more than once in the same scope
12 // then only one of those declarations may have default arguments.
13 
14 // <iosfwd> contains the same declarations as other headers, and including
15 // both <iosfwd> and (say) <iostream> is permitted. This means that only
16 // one header may contain those default template arguments.
17 
18 // In this implementation, the declarations in <iosfwd> contain default
19 // template arguments. All of the other I/O headers include <iosfwd>.
20 
21 #ifndef _STLP_CHAR_TRAITS_H
22 # include <stl/char_traits.h>
23 #endif
24 
26 
27 class ios_base;
28 
29 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
30 class basic_ios;
31 
32 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
34 
35 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
37 
38 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
40 
41 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
43 
44 template <class _CharT, _STLP_DFL_TMPL_PARAM( _Traits , char_traits<_CharT>),
45  _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) >
47 
48 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>),
49  _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) >
51 
52 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>),
53  _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) >
55 
56 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>),
57  _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) >
59 
60 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
61 class basic_filebuf;
62 
63 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
64 class basic_ifstream;
65 
66 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
67 class basic_ofstream;
68 
69 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
70 class basic_fstream;
71 
72 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
74 
75 template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
77 
79 
80 #if !defined (_STLP_NO_WCHAR_T)
82 #endif
83 
84 // Forward declaration of class locale, and of the most important facets.
85 class locale;
86 template <class _Facet>
87 #if defined (_STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS)
88 struct _Use_facet {
89  const locale& __loc;
90  _Use_facet(const locale& __p_loc) : __loc(__p_loc) {}
91  inline const _Facet& operator *() const;
92 };
93 # define use_facet *_Use_facet
94 #else
95 inline const _Facet& use_facet(const locale&);
96 #endif
97 
98 template <class _CharT> class ctype;
99 template <class _CharT> class ctype_byname;
100 template <class _CharT> class collate;
101 template <class _CharT> class collate_byname;
102 
107 
108 #if !defined (_STLP_NO_WCHAR_T)
113 #endif
114 
115 #if !(defined (__SUNPRO_CC) && __SUNPRO_CC < 0x500 )
116 // Typedefs for ordinary (narrow-character) streams.
117 //_STLP_TEMPLATE_NULL class basic_streambuf<char, char_traits<char> >;
118 #endif
119 
124 
129 
134 
135 #if !defined (_STLP_NO_WCHAR_T)
136 // Typedefs for wide-character streams.
141 
146 
151 #endif
152 
154 
155 #endif
156 
157 // Local Variables:
158 // mode:C++
159 // End:
basic_fstream< wchar_t, char_traits< wchar_t > > wfstream
Definition: _iosfwd.h:150
basic_stringstream< wchar_t, char_traits< wchar_t >, allocator< wchar_t > > wstringstream
Definition: _iosfwd.h:145
complex< _Tp > _STLP_CALL operator *(const _Tp &__x, const complex< _Tp > &__z)
Definition: _complex.h:644
basic_ostream< char, char_traits< char > > ostream
Definition: _iosfwd.h:121
basic_ostringstream< char, char_traits< char >, allocator< char > > ostringstream
Definition: _iosfwd.h:127
basic_istringstream< wchar_t, char_traits< wchar_t >, allocator< wchar_t > > wistringstream
Definition: _iosfwd.h:143
basic_ostringstream< wchar_t, char_traits< wchar_t >, allocator< wchar_t > > wostringstream
Definition: _iosfwd.h:144
const _Facet & use_facet(const locale &)
Definition: _locale.h:290
Definition: _locale.h:75
basic_stringbuf< char, char_traits< char >, allocator< char > > stringbuf
Definition: _iosfwd.h:125
basic_ifstream< char, char_traits< char > > ifstream
Definition: _iosfwd.h:131
basic_ifstream< wchar_t, char_traits< wchar_t > > wifstream
Definition: _iosfwd.h:148
unsigned char
Definition: typeof.h:29
Definition: _ios.h:48
unsigned short wchar_t
Definition: crtdefs.h:324
basic_ios< char, char_traits< char > > ios
Definition: _iosfwd.h:76
Definition: _ctype.h:58
basic_ofstream< char, char_traits< char > > ofstream
Definition: _iosfwd.h:132
basic_istream< char, char_traits< char > > istream
Definition: _iosfwd.h:120
basic_istream< wchar_t, char_traits< wchar_t > > wistream
Definition: _iosfwd.h:138
basic_stringbuf< wchar_t, char_traits< wchar_t >, allocator< wchar_t > > wstringbuf
Definition: _iosfwd.h:142
basic_fstream< char, char_traits< char > > fstream
Definition: _iosfwd.h:133
#define _STLP_TEMPLATE_NULL
Definition: features.h:652
basic_istringstream< char, char_traits< char >, allocator< char > > istringstream
Definition: _iosfwd.h:126
basic_ostream< wchar_t, char_traits< wchar_t > > wostream
Definition: _iosfwd.h:139
basic_streambuf< wchar_t, char_traits< wchar_t > > wstreambuf
Definition: _iosfwd.h:137
#define _STLP_END_NAMESPACE
Definition: features.h:503
basic_streambuf< char, char_traits< char > > streambuf
Definition: _iosfwd.h:123
basic_stringstream< char, char_traits< char >, allocator< char > > stringstream
Definition: _iosfwd.h:128
#define _STLP_BEGIN_NAMESPACE
Definition: features.h:501
basic_ios< wchar_t, char_traits< wchar_t > > wios
Definition: _iosfwd.h:81
basic_iostream< char, char_traits< char > > iostream
Definition: _iosfwd.h:122
basic_iostream< wchar_t, char_traits< wchar_t > > wiostream
Definition: _iosfwd.h:140
basic_filebuf< char, char_traits< char > > filebuf
Definition: _iosfwd.h:130
basic_filebuf< wchar_t, char_traits< wchar_t > > wfilebuf
Definition: _iosfwd.h:147
basic_ofstream< wchar_t, char_traits< wchar_t > > wofstream
Definition: _iosfwd.h:149