1102782Skan// Explicit instantiation file.
2102782Skan
3169691Skan// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 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 <ostream>
36102782Skan#include <iomanip>
37102782Skan
38169691Skan_GLIBCXX_BEGIN_NAMESPACE(std)
39169691Skan
40102782Skan  // ostream
41102782Skan  template class basic_ostream<char>;
42102782Skan  template ostream& endl(ostream&);
43102782Skan  template ostream& ends(ostream&);
44102782Skan  template ostream& flush(ostream&);
45102782Skan  template ostream& operator<<(ostream&, char);
46102782Skan  template ostream& operator<<(ostream&, unsigned char);
47102782Skan  template ostream& operator<<(ostream&, signed char);
48102782Skan  template ostream& operator<<(ostream&, const char*);
49102782Skan  template ostream& operator<<(ostream&, const unsigned char*);
50102782Skan  template ostream& operator<<(ostream&, const signed char*);
51102782Skan
52102782Skan  template ostream& operator<<(ostream&, _Setfill<char>);
53102782Skan  template ostream& operator<<(ostream&, _Setiosflags);
54102782Skan  template ostream& operator<<(ostream&, _Resetiosflags);
55102782Skan  template ostream& operator<<(ostream&, _Setbase);
56102782Skan  template ostream& operator<<(ostream&, _Setprecision);
57102782Skan  template ostream& operator<<(ostream&, _Setw);
58169691Skan  template ostream& __ostream_insert(ostream&, const char*, streamsize);
59102782Skan
60169691Skan  template ostream& ostream::_M_insert(long);
61169691Skan  template ostream& ostream::_M_insert(unsigned long);
62169691Skan  template ostream& ostream::_M_insert(bool);
63169691Skan#ifdef _GLIBCXX_USE_LONG_LONG
64169691Skan  template ostream& ostream::_M_insert(long long);
65169691Skan  template ostream& ostream::_M_insert(unsigned long long);
66169691Skan#endif
67169691Skan  template ostream& ostream::_M_insert(double);
68169691Skan  template ostream& ostream::_M_insert(long double);
69169691Skan  template ostream& ostream::_M_insert(const void*);
70169691Skan
71132720Skan#ifdef _GLIBCXX_USE_WCHAR_T
72102782Skan  template class basic_ostream<wchar_t>;
73102782Skan  template wostream& endl(wostream&);
74102782Skan  template wostream& ends(wostream&);
75102782Skan  template wostream& flush(wostream&);
76102782Skan  template wostream& operator<<(wostream&, wchar_t);
77102782Skan  template wostream& operator<<(wostream&, char);
78102782Skan  template wostream& operator<<(wostream&, const wchar_t*);
79102782Skan  template wostream& operator<<(wostream&, const char*);
80102782Skan
81102782Skan  template wostream& operator<<(wostream&, _Setfill<wchar_t>);
82102782Skan  template wostream& operator<<(wostream&, _Setiosflags);
83102782Skan  template wostream& operator<<(wostream&, _Resetiosflags);
84102782Skan  template wostream& operator<<(wostream&, _Setbase);
85102782Skan  template wostream& operator<<(wostream&, _Setprecision);
86102782Skan  template wostream& operator<<(wostream&, _Setw);
87169691Skan  template wostream& __ostream_insert(wostream&, const wchar_t*, streamsize);
88169691Skan
89169691Skan  template wostream& wostream::_M_insert(long);
90169691Skan  template wostream& wostream::_M_insert(unsigned long);
91169691Skan  template wostream& wostream::_M_insert(bool);
92169691Skan#ifdef _GLIBCXX_USE_LONG_LONG
93169691Skan  template wostream& wostream::_M_insert(long long);
94169691Skan  template wostream& wostream::_M_insert(unsigned long long);
95102782Skan#endif
96169691Skan  template wostream& wostream::_M_insert(double);
97169691Skan  template wostream& wostream::_M_insert(long double);
98169691Skan  template wostream& wostream::_M_insert(const void*);
99169691Skan#endif
100169691Skan
101169691Skan_GLIBCXX_END_NAMESPACE
102169691Skan
103169691Skan// XXX GLIBCXX_ABI Deprecated
104169691Skan#ifdef _GLIBCXX_LONG_DOUBLE_COMPAT
105169691Skan
106169691Skan#define _GLIBCXX_LDBL_COMPAT(dbl, ldbl) \
107169691Skan  extern "C" void ldbl (void) __attribute__ ((alias (#dbl), weak))
108169691Skan_GLIBCXX_LDBL_COMPAT (_ZNSolsEd, _ZNSolsEe);
109169691Skan_GLIBCXX_LDBL_COMPAT (_ZNSt13basic_ostreamIwSt11char_traitsIwEElsEd,
110169691Skan		      _ZNSt13basic_ostreamIwSt11char_traitsIwEElsEe);
111169691Skan_GLIBCXX_LDBL_COMPAT (_ZNSo9_M_insertIdEERSoT_,
112169691Skan		      _ZNSo9_M_insertIeEERSoT_);
113169691Skan_GLIBCXX_LDBL_COMPAT (_ZNSt13basic_ostreamIwSt11char_traitsIwEE9_M_insertIdEERS2_T_,
114169691Skan		      _ZNSt13basic_ostreamIwSt11char_traitsIwEE9_M_insertIeEERS2_T_);
115169691Skan
116169691Skan#endif // _GLIBCXX_LONG_DOUBLE_COMPAT
117