1 // Explicit instantiation file.
3 // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2005, 2006, 2009
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 3, 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 // Under Section 7 of GPL version 3, you are granted additional
18 // permissions described in the GCC Runtime Library Exception, version
19 // 3.1, as published by the Free Software Foundation.
21 // You should have received a copy of the GNU General Public License and
22 // a copy of the GCC Runtime Library Exception along with this program;
23 // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
24 // <http://www.gnu.org/licenses/>.
33 _GLIBCXX_BEGIN_NAMESPACE(std
)
35 template class basic_istream
<char>;
36 template istream
& ws(istream
&);
37 template istream
& operator>>(istream
&, char&);
38 template istream
& operator>>(istream
&, unsigned char&);
39 template istream
& operator>>(istream
&, signed char&);
40 template istream
& operator>>(istream
&, char*);
41 template istream
& operator>>(istream
&, unsigned char*);
42 template istream
& operator>>(istream
&, signed char*);
44 template istream
& operator>>(istream
&, _Setfill
<char>);
45 template istream
& operator>>(istream
&, _Setiosflags
);
46 template istream
& operator>>(istream
&, _Resetiosflags
);
47 template istream
& operator>>(istream
&, _Setbase
);
48 template istream
& operator>>(istream
&, _Setprecision
);
49 template istream
& operator>>(istream
&, _Setw
);
51 template istream
& istream::_M_extract(unsigned short&);
52 template istream
& istream::_M_extract(unsigned int&);
53 template istream
& istream::_M_extract(long&);
54 template istream
& istream::_M_extract(unsigned long&);
55 template istream
& istream::_M_extract(bool&);
56 #ifdef _GLIBCXX_USE_LONG_LONG
57 template istream
& istream::_M_extract(long long&);
58 template istream
& istream::_M_extract(unsigned long long&);
60 template istream
& istream::_M_extract(float&);
61 template istream
& istream::_M_extract(double&);
62 template istream
& istream::_M_extract(long double&);
63 template istream
& istream::_M_extract(void*&);
65 #ifdef _GLIBCXX_USE_WCHAR_T
66 template class basic_istream
<wchar_t>;
67 template wistream
& ws(wistream
&);
68 template wistream
& operator>>(wistream
&, wchar_t&);
69 template wistream
& operator>>(wistream
&, wchar_t*);
71 template wistream
& operator>>(wistream
&, _Setfill
<wchar_t>);
72 template wistream
& operator>>(wistream
&, _Setiosflags
);
73 template wistream
& operator>>(wistream
&, _Resetiosflags
);
74 template wistream
& operator>>(wistream
&, _Setbase
);
75 template wistream
& operator>>(wistream
&, _Setprecision
);
76 template wistream
& operator>>(wistream
&, _Setw
);
78 template wistream
& wistream::_M_extract(unsigned short&);
79 template wistream
& wistream::_M_extract(unsigned int&);
80 template wistream
& wistream::_M_extract(long&);
81 template wistream
& wistream::_M_extract(unsigned long&);
82 template wistream
& wistream::_M_extract(bool&);
83 #ifdef _GLIBCXX_USE_LONG_LONG
84 template wistream
& wistream::_M_extract(long long&);
85 template wistream
& wistream::_M_extract(unsigned long long&);
87 template wistream
& wistream::_M_extract(float&);
88 template wistream
& wistream::_M_extract(double&);
89 template wistream
& wistream::_M_extract(long double&);
90 template wistream
& wistream::_M_extract(void*&);
93 _GLIBCXX_END_NAMESPACE
95 // XXX GLIBCXX_ABI Deprecated
96 #ifdef _GLIBCXX_LONG_DOUBLE_COMPAT
98 #define _GLIBCXX_LDBL_COMPAT(dbl, ldbl) \
99 extern "C" void ldbl (void) __attribute__ ((alias (#dbl), weak))
100 _GLIBCXX_LDBL_COMPAT (_ZNSirsERd
, _ZNSirsERe
);
101 #ifdef _GLIBCXX_USE_WCHAR_T
102 _GLIBCXX_LDBL_COMPAT (_ZNSt13basic_istreamIwSt11char_traitsIwEErsERd
,
103 _ZNSt13basic_istreamIwSt11char_traitsIwEErsERe
);
105 _GLIBCXX_LDBL_COMPAT (_ZNSi10_M_extractIdEERSiRT_
,
106 _ZNSi10_M_extractIeEERSiRT_
);
107 #ifdef _GLIBCXX_USE_WCHAR_T
108 _GLIBCXX_LDBL_COMPAT (_ZNSt13basic_istreamIwSt11char_traitsIwEE10_M_extractIdEERS2_RT_
,
109 _ZNSt13basic_istreamIwSt11char_traitsIwEE10_M_extractIeEERS2_RT_
);
112 #endif // _GLIBCXX_LONG_DOUBLE_COMPAT