1102782Skan// Explicit instantiation file.
2102782Skan
3169691Skan// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2005, 2006
4102782Skan// Free Software Foundation, Inc.
5102782Skan//
6102782Skan// This file is part of the GNU ISO C++ Library.  This library is free
7102782Skan// software; you can redistribute it and/or modify it under the
8102782Skan// terms of the GNU General Public License as published by the
9102782Skan// Free Software Foundation; either version 2, or (at your option)
10102782Skan// any later version.
11102782Skan
12102782Skan// This library is distributed in the hope that it will be useful,
13102782Skan// but WITHOUT ANY WARRANTY; without even the implied warranty of
14102782Skan// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15102782Skan// GNU General Public License for more details.
16102782Skan
17102782Skan// You should have received a copy of the GNU General Public License along
18102782Skan// with this library; see the file COPYING.  If not, write to the Free
19169691Skan// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
20102782Skan// USA.
21102782Skan
22102782Skan// As a special exception, you may use this file as part of a free software
23102782Skan// library without restriction.  Specifically, if other files instantiate
24102782Skan// templates or use macros or inline functions from this file, or you compile
25102782Skan// this file and link it with other files to produce an executable, this
26102782Skan// file does not by itself cause the resulting executable to be covered by
27102782Skan// the GNU General Public License.  This exception does not however
28102782Skan// invalidate any other reasons why the executable file might be covered by
29102782Skan// the GNU General Public License.
30102782Skan
31102782Skan//
32102782Skan// ISO C++ 14882:
33102782Skan//
34102782Skan
35102782Skan#include <istream>
36102782Skan#include <iomanip>
37102782Skan
38169691Skan_GLIBCXX_BEGIN_NAMESPACE(std)
39169691Skan
40102782Skan  template class basic_istream<char>;
41102782Skan  template istream& ws(istream&);
42102782Skan  template istream& operator>>(istream&, char&);
43102782Skan  template istream& operator>>(istream&, unsigned char&);
44102782Skan  template istream& operator>>(istream&, signed char&);
45102782Skan  template istream& operator>>(istream&, char*);
46102782Skan  template istream& operator>>(istream&, unsigned char*);
47102782Skan  template istream& operator>>(istream&, signed char*);
48102782Skan
49102782Skan  template istream& operator>>(istream&, _Setfill<char>);
50102782Skan  template istream& operator>>(istream&, _Setiosflags);
51102782Skan  template istream& operator>>(istream&, _Resetiosflags);
52102782Skan  template istream& operator>>(istream&, _Setbase);
53102782Skan  template istream& operator>>(istream&, _Setprecision);
54102782Skan  template istream& operator>>(istream&, _Setw);
55102782Skan
56169691Skan  template istream& istream::_M_extract(unsigned short&);
57169691Skan  template istream& istream::_M_extract(unsigned int&);
58169691Skan  template istream& istream::_M_extract(long&);
59169691Skan  template istream& istream::_M_extract(unsigned long&);
60169691Skan  template istream& istream::_M_extract(bool&);
61169691Skan#ifdef _GLIBCXX_USE_LONG_LONG
62169691Skan  template istream& istream::_M_extract(long long&);
63169691Skan  template istream& istream::_M_extract(unsigned long long&);
64169691Skan#endif
65169691Skan  template istream& istream::_M_extract(float&);
66169691Skan  template istream& istream::_M_extract(double&);
67169691Skan  template istream& istream::_M_extract(long double&);
68169691Skan  template istream& istream::_M_extract(void*&);
69169691Skan
70132720Skan#ifdef _GLIBCXX_USE_WCHAR_T
71102782Skan  template class basic_istream<wchar_t>;
72102782Skan  template wistream& ws(wistream&);
73102782Skan  template wistream& operator>>(wistream&, wchar_t&);
74102782Skan  template wistream& operator>>(wistream&, wchar_t*);
75102782Skan
76102782Skan  template wistream& operator>>(wistream&, _Setfill<wchar_t>);
77102782Skan  template wistream& operator>>(wistream&, _Setiosflags);
78102782Skan  template wistream& operator>>(wistream&, _Resetiosflags);
79102782Skan  template wistream& operator>>(wistream&, _Setbase);
80102782Skan  template wistream& operator>>(wistream&, _Setprecision);
81102782Skan  template wistream& operator>>(wistream&, _Setw);
82169691Skan
83169691Skan  template wistream& wistream::_M_extract(unsigned short&);
84169691Skan  template wistream& wistream::_M_extract(unsigned int&);
85169691Skan  template wistream& wistream::_M_extract(long&);
86169691Skan  template wistream& wistream::_M_extract(unsigned long&);
87169691Skan  template wistream& wistream::_M_extract(bool&);
88169691Skan#ifdef _GLIBCXX_USE_LONG_LONG
89169691Skan  template wistream& wistream::_M_extract(long long&);
90169691Skan  template wistream& wistream::_M_extract(unsigned long long&);
91102782Skan#endif
92169691Skan  template wistream& wistream::_M_extract(float&);
93169691Skan  template wistream& wistream::_M_extract(double&);
94169691Skan  template wistream& wistream::_M_extract(long double&);
95169691Skan  template wistream& wistream::_M_extract(void*&);
96169691Skan#endif
97169691Skan
98169691Skan_GLIBCXX_END_NAMESPACE
99169691Skan
100169691Skan// XXX GLIBCXX_ABI Deprecated
101169691Skan#ifdef _GLIBCXX_LONG_DOUBLE_COMPAT
102169691Skan
103169691Skan#define _GLIBCXX_LDBL_COMPAT(dbl, ldbl) \
104169691Skan  extern "C" void ldbl (void) __attribute__ ((alias (#dbl), weak))
105169691Skan_GLIBCXX_LDBL_COMPAT (_ZNSirsERd, _ZNSirsERe);
106169691Skan_GLIBCXX_LDBL_COMPAT (_ZNSt13basic_istreamIwSt11char_traitsIwEErsERd,
107169691Skan		      _ZNSt13basic_istreamIwSt11char_traitsIwEErsERe);
108169691Skan_GLIBCXX_LDBL_COMPAT (_ZNSi10_M_extractIdEERSiRT_,
109169691Skan		      _ZNSi10_M_extractIeEERSiRT_);
110169691Skan_GLIBCXX_LDBL_COMPAT (_ZNSt13basic_istreamIwSt11char_traitsIwEE10_M_extractIdEERS2_RT_,
111169691Skan		      _ZNSt13basic_istreamIwSt11char_traitsIwEE10_M_extractIeEERS2_RT_);
112169691Skan
113169691Skan#endif // _GLIBCXX_LONG_DOUBLE_COMPAT
114