1 // Explicit instantiation file.
3 // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
4 // Free Software Foundation, Inc.
6 // This file is part of the GNU ISO C++ Library. This library is free
7 // software; you can redistribute it and/or modify it under the
8 // terms of the GNU General Public License as published by the
9 // Free Software Foundation; either version 2, or (at your option)
12 // This library is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
17 // You should have received a copy of the GNU General Public License along
18 // with this library; see the file COPYING. If not, write to the Free
19 // Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
22 // As a special exception, you may use this file as part of a free software
23 // library without restriction. Specifically, if other files instantiate
24 // templates or use macros or inline functions from this file, or you compile
25 // this file and link it with other files to produce an executable, this
26 // file does not by itself cause the resulting executable to be covered by
27 // the GNU General Public License. This exception does not however
28 // invalidate any other reasons why the executable file might be covered by
29 // the GNU General Public License.
48 // NB: Unnecessary if the .h headers already include these.
49 #ifndef _GLIBCPP_FULLY_COMPLIANT_HEADERS
50 #include <bits/sstream.tcc>
51 #include <bits/fstream.tcc>
52 #include <bits/streambuf.tcc>
53 #include <bits/istream.tcc>
54 #include <bits/ostream.tcc>
60 template class basic_streambuf
<char>;
61 #ifdef _GLIBCPP_USE_WCHAR_T
62 template class basic_streambuf
<wchar_t>;
66 template class basic_stringbuf
<char>;
67 #ifdef _GLIBCPP_USE_WCHAR_T
68 template class basic_stringbuf
<wchar_t>;
72 template class basic_filebuf
<char, char_traits
<char> >;
73 #ifdef _GLIBCPP_USE_WCHAR_T
74 template class basic_filebuf
<wchar_t, char_traits
<wchar_t> >;
78 template class basic_ios
<char>;
79 #ifdef _GLIBCPP_USE_WCHAR_T
80 template class basic_ios
<wchar_t>;
84 template class _Setfill
<char>;
85 template _Setfill
<char> setfill(char);
86 #ifdef _GLIBCPP_USE_WCHAR_T
87 template class _Setfill
<wchar_t>;
88 template _Setfill
<wchar_t> setfill(wchar_t);
92 template class basic_istream
<char>;
93 template istream
& ws(istream
&);
94 template istream
& operator>>(istream
&, char&);
95 template istream
& operator>>(istream
&, unsigned char&);
96 template istream
& operator>>(istream
&, signed char&);
97 template istream
& operator>>(istream
&, char*);
98 template istream
& operator>>(istream
&, unsigned char*);
99 template istream
& operator>>(istream
&, signed char*);
101 template istream
& operator>>(istream
&, _Setfill
<char>);
102 template istream
& operator>>(istream
&, _Setiosflags
);
103 template istream
& operator>>(istream
&, _Resetiosflags
);
104 template istream
& operator>>(istream
&, _Setbase
);
105 template istream
& operator>>(istream
&, _Setprecision
);
106 template istream
& operator>>(istream
&, _Setw
);
108 #ifdef _GLIBCPP_USE_WCHAR_T
109 template class basic_istream
<wchar_t>;
110 template wistream
& ws(wistream
&);
111 template wistream
& operator>>(wistream
&, wchar_t&);
112 template wistream
& operator>>(wistream
&, wchar_t*);
114 template wistream
& operator>>(wistream
&, _Setfill
<wchar_t>);
115 template wistream
& operator>>(wistream
&, _Setiosflags
);
116 template wistream
& operator>>(wistream
&, _Resetiosflags
);
117 template wistream
& operator>>(wistream
&, _Setbase
);
118 template wistream
& operator>>(wistream
&, _Setprecision
);
119 template wistream
& operator>>(wistream
&, _Setw
);
123 template class basic_ostream
<char>;
124 template ostream
& endl(ostream
&);
125 template ostream
& ends(ostream
&);
126 template ostream
& flush(ostream
&);
127 template ostream
& operator<<(ostream
&, char);
128 template ostream
& operator<<(ostream
&, unsigned char);
129 template ostream
& operator<<(ostream
&, signed char);
130 template ostream
& operator<<(ostream
&, const char*);
131 template ostream
& operator<<(ostream
&, const unsigned char*);
132 template ostream
& operator<<(ostream
&, const signed char*);
134 template ostream
& operator<<(ostream
&, _Setfill
<char>);
135 template ostream
& operator<<(ostream
&, _Setiosflags
);
136 template ostream
& operator<<(ostream
&, _Resetiosflags
);
137 template ostream
& operator<<(ostream
&, _Setbase
);
138 template ostream
& operator<<(ostream
&, _Setprecision
);
139 template ostream
& operator<<(ostream
&, _Setw
);
141 #ifdef _GLIBCPP_USE_WCHAR_T
142 template class basic_ostream
<wchar_t>;
143 template wostream
& endl(wostream
&);
144 template wostream
& ends(wostream
&);
145 template wostream
& flush(wostream
&);
146 template wostream
& operator<<(wostream
&, wchar_t);
147 template wostream
& operator<<(wostream
&, char);
148 template wostream
& operator<<(wostream
&, const wchar_t*);
149 template wostream
& operator<<(wostream
&, const char*);
151 template wostream
& operator<<(wostream
&, _Setfill
<wchar_t>);
152 template wostream
& operator<<(wostream
&, _Setiosflags
);
153 template wostream
& operator<<(wostream
&, _Resetiosflags
);
154 template wostream
& operator<<(wostream
&, _Setbase
);
155 template wostream
& operator<<(wostream
&, _Setprecision
);
156 template wostream
& operator<<(wostream
&, _Setw
);
161 template class basic_iostream
<char>;
162 #ifdef _GLIBCPP_USE_WCHAR_T
163 template class basic_iostream
<wchar_t>;
167 template class basic_ifstream
<char>;
168 #ifdef _GLIBCPP_USE_WCHAR_T
169 template class basic_ifstream
<wchar_t>;
173 template class basic_ofstream
<char>;
174 #ifdef _GLIBCPP_USE_WCHAR_T
175 template class basic_ofstream
<wchar_t>;
179 template class basic_fstream
<char>;
180 #ifdef _GLIBCPP_USE_WCHAR_T
181 template class basic_fstream
<wchar_t>;
185 template class basic_istringstream
<char>;
186 #ifdef _GLIBCPP_USE_WCHAR_T
187 template class basic_istringstream
<wchar_t>;
191 template class basic_ostringstream
<char>;
192 #ifdef _GLIBCPP_USE_WCHAR_T
193 template class basic_ostringstream
<wchar_t>;
197 template class basic_stringstream
<char>;
198 #ifdef _GLIBCPP_USE_WCHAR_T
199 template class basic_stringstream
<wchar_t>;
202 // string related to iostreams
205 operator>>(basic_istream
<char>&, string
&);
208 operator<<(basic_ostream
<char>&, const string
&);
211 getline(basic_istream
<char>&, string
&, char);
214 getline(basic_istream
<char>&, string
&);
215 #ifdef _GLIBCPP_USE_WCHAR_T
217 basic_istream
<wchar_t>&
218 operator>>(basic_istream
<wchar_t>&, wstring
&);
220 basic_ostream
<wchar_t>&
221 operator<<(basic_ostream
<wchar_t>&, const wstring
&);
223 basic_istream
<wchar_t>&
224 getline(basic_istream
<wchar_t>&, wstring
&, wchar_t);
226 basic_istream
<wchar_t>&
227 getline(basic_istream
<wchar_t>&, wstring
&);
231 typedef _Char_traits_match
<char, char_traits
<char> > char_match
;
235 find_if
<const char *, char_match
>
236 (const char *, const char *, char_match
, random_access_iterator_tag
);
238 #ifdef _GLIBCPP_USE_WCHAR_T
239 typedef _Char_traits_match
<wchar_t, char_traits
<wchar_t> > wchar_match
;
241 template const wchar_t*
242 find_if
<const wchar_t*, wchar_match
>
243 (const wchar_t*, const wchar_t*, wchar_match
, random_access_iterator_tag
);
248 __uninitialized_fill_n_aux
<string
*, size_t, string
>
249 (string
*, size_t, string
const &, __false_type
);
253 __uninitialized_copy_aux
<vector
<string
>::const_iterator
, string
*>
254 (vector
<string
>::const_iterator
, vector
<string
>::const_iterator
,
255 string
*, __false_type
);
259 __copy_streambufs(basic_ios
<char>&, basic_streambuf
<char>*,
260 basic_streambuf
<char>*);
261 #ifdef _GLIBCPP_USE_WCHAR_T
264 __copy_streambufs(basic_ios
<wchar_t>&, basic_streambuf
<wchar_t>*,
265 basic_streambuf
<wchar_t>*);