ReactOS 0.4.16-dev-321-g63bb46a
_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
27class ios_base;
28
29template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
30class basic_ios;
31
32template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
33class basic_streambuf;
34
35template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
36class basic_istream;
37
38template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
39class basic_ostream;
40
41template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
42class basic_iostream;
43
44template <class _CharT, _STLP_DFL_TMPL_PARAM( _Traits , char_traits<_CharT>),
45 _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) >
46class basic_stringbuf;
47
48template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>),
49 _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) >
51
52template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>),
53 _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) >
55
56template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>),
57 _STLP_DFL_TMPL_PARAM(_Allocator , allocator<_CharT>) >
59
60template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
61class basic_filebuf;
62
63template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
64class basic_ifstream;
65
66template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
67class basic_ofstream;
68
69template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
70class basic_fstream;
71
72template <class _CharT, _STLP_DFL_TMPL_PARAM(_Traits , char_traits<_CharT>) >
74
75template <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.
85class locale;
86template <class _Facet>
87#if defined (_STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS)
88struct _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
95inline const _Facet& use_facet(const locale&);
96#endif
97
98template <class _CharT> class ctype;
99template <class _CharT> class ctype_byname;
100template <class _CharT> class collate;
101template <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:
complex< _Tp > _STLP_CALL operator*(const _Tp &__x, const complex< _Tp > &__z)
Definition: _complex.h:644
basic_ostringstream< wchar_t, char_traits< wchar_t >, allocator< wchar_t > > wostringstream
Definition: _iosfwd.h:144
basic_filebuf< wchar_t, char_traits< wchar_t > > wfilebuf
Definition: _iosfwd.h:147
basic_ostream< char, char_traits< char > > ostream
Definition: _iosfwd.h:121
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_istringstream< wchar_t, char_traits< wchar_t >, allocator< wchar_t > > wistringstream
Definition: _iosfwd.h:143
basic_fstream< char, char_traits< char > > fstream
Definition: _iosfwd.h:133
basic_ifstream< wchar_t, char_traits< wchar_t > > wifstream
Definition: _iosfwd.h:148
basic_stringbuf< char, char_traits< char >, allocator< char > > stringbuf
Definition: _iosfwd.h:125
basic_ios< wchar_t, char_traits< wchar_t > > wios
Definition: _iosfwd.h:81
basic_istringstream< char, char_traits< char >, allocator< char > > istringstream
Definition: _iosfwd.h:126
basic_stringstream< char, char_traits< char >, allocator< char > > stringstream
Definition: _iosfwd.h:128
basic_filebuf< char, char_traits< char > > filebuf
Definition: _iosfwd.h:130
basic_istream< char, char_traits< char > > istream
Definition: _iosfwd.h:120
basic_streambuf< wchar_t, char_traits< wchar_t > > wstreambuf
Definition: _iosfwd.h:137
basic_ofstream< char, char_traits< char > > ofstream
Definition: _iosfwd.h:132
basic_ostream< wchar_t, char_traits< wchar_t > > wostream
Definition: _iosfwd.h:139
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
basic_ios< char, char_traits< char > > ios
Definition: _iosfwd.h:78
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_streambuf< char, char_traits< char > > streambuf
Definition: _iosfwd.h:123
basic_ostringstream< char, char_traits< char >, allocator< char > > ostringstream
Definition: _iosfwd.h:127
basic_ifstream< char, char_traits< char > > ifstream
Definition: _iosfwd.h:131
const _Facet & use_facet(const locale &)
Definition: _locale.h:290
basic_ofstream< wchar_t, char_traits< wchar_t > > wofstream
Definition: _iosfwd.h:149
Definition: _ios.h:48
Definition: _ctype.h:58
Definition: _locale.h:75
unsigned char
Definition: typeof.h:29
#define _STLP_TEMPLATE_NULL
Definition: features.h:652
#define _STLP_BEGIN_NAMESPACE
Definition: features.h:501
#define _STLP_END_NAMESPACE
Definition: features.h:503
__WCHAR_TYPE__ wchar_t
Definition: stddef.h:311