Import gcc-4.4.1
[dragonfly.git] / contrib / gcc-4.4 / libstdc++-v3 / src / ostream-inst.cc
blob9c0163393df3818585b1204588c3699ec27957df
1 // Explicit instantiation file.
3 // Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
4 // 2009 Free Software Foundation, Inc.
5 //
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)
10 // any later version.
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/>.
27 // ISO C++ 14882:
30 #include <ostream>
31 #include <iomanip>
33 _GLIBCXX_BEGIN_NAMESPACE(std)
35 // ostream
36 template class basic_ostream<char>;
37 template ostream& endl(ostream&);
38 template ostream& ends(ostream&);
39 template ostream& flush(ostream&);
40 template ostream& operator<<(ostream&, char);
41 template ostream& operator<<(ostream&, unsigned char);
42 template ostream& operator<<(ostream&, signed char);
43 template ostream& operator<<(ostream&, const char*);
44 template ostream& operator<<(ostream&, const unsigned char*);
45 template ostream& operator<<(ostream&, const signed char*);
47 template ostream& operator<<(ostream&, _Setfill<char>);
48 template ostream& operator<<(ostream&, _Setiosflags);
49 template ostream& operator<<(ostream&, _Resetiosflags);
50 template ostream& operator<<(ostream&, _Setbase);
51 template ostream& operator<<(ostream&, _Setprecision);
52 template ostream& operator<<(ostream&, _Setw);
53 template ostream& __ostream_insert(ostream&, const char*, streamsize);
55 template ostream& ostream::_M_insert(long);
56 template ostream& ostream::_M_insert(unsigned long);
57 template ostream& ostream::_M_insert(bool);
58 #ifdef _GLIBCXX_USE_LONG_LONG
59 template ostream& ostream::_M_insert(long long);
60 template ostream& ostream::_M_insert(unsigned long long);
61 #endif
62 template ostream& ostream::_M_insert(double);
63 template ostream& ostream::_M_insert(long double);
64 template ostream& ostream::_M_insert(const void*);
66 #ifdef _GLIBCXX_USE_WCHAR_T
67 template class basic_ostream<wchar_t>;
68 template wostream& endl(wostream&);
69 template wostream& ends(wostream&);
70 template wostream& flush(wostream&);
71 template wostream& operator<<(wostream&, wchar_t);
72 template wostream& operator<<(wostream&, char);
73 template wostream& operator<<(wostream&, const wchar_t*);
74 template wostream& operator<<(wostream&, const char*);
76 template wostream& operator<<(wostream&, _Setfill<wchar_t>);
77 template wostream& operator<<(wostream&, _Setiosflags);
78 template wostream& operator<<(wostream&, _Resetiosflags);
79 template wostream& operator<<(wostream&, _Setbase);
80 template wostream& operator<<(wostream&, _Setprecision);
81 template wostream& operator<<(wostream&, _Setw);
82 template wostream& __ostream_insert(wostream&, const wchar_t*, streamsize);
84 template wostream& wostream::_M_insert(long);
85 template wostream& wostream::_M_insert(unsigned long);
86 template wostream& wostream::_M_insert(bool);
87 #ifdef _GLIBCXX_USE_LONG_LONG
88 template wostream& wostream::_M_insert(long long);
89 template wostream& wostream::_M_insert(unsigned long long);
90 #endif
91 template wostream& wostream::_M_insert(double);
92 template wostream& wostream::_M_insert(long double);
93 template wostream& wostream::_M_insert(const void*);
94 #endif
96 _GLIBCXX_END_NAMESPACE
98 // XXX GLIBCXX_ABI Deprecated
99 #ifdef _GLIBCXX_LONG_DOUBLE_COMPAT
101 #define _GLIBCXX_LDBL_COMPAT(dbl, ldbl) \
102 extern "C" void ldbl (void) __attribute__ ((alias (#dbl), weak))
103 _GLIBCXX_LDBL_COMPAT (_ZNSolsEd, _ZNSolsEe);
104 #ifdef _GLIBCXX_USE_WCHAR_T
105 _GLIBCXX_LDBL_COMPAT (_ZNSt13basic_ostreamIwSt11char_traitsIwEElsEd,
106 _ZNSt13basic_ostreamIwSt11char_traitsIwEElsEe);
107 #endif
108 _GLIBCXX_LDBL_COMPAT (_ZNSo9_M_insertIdEERSoT_,
109 _ZNSo9_M_insertIeEERSoT_);
110 #ifdef _GLIBCXX_USE_WCHAR_T
111 _GLIBCXX_LDBL_COMPAT (_ZNSt13basic_ostreamIwSt11char_traitsIwEE9_M_insertIdEERS2_T_,
112 _ZNSt13basic_ostreamIwSt11char_traitsIwEE9_M_insertIeEERS2_T_);
113 #endif
115 #endif // _GLIBCXX_LONG_DOUBLE_COMPAT