1272166Scperciva// Explicit instantiation file. 2272166Scperciva 3272166Scperciva// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 4272166Scperciva// Free Software Foundation, Inc. 5272166Scperciva// 6272166Scperciva// This file is part of the GNU ISO C++ Library. This library is free 7272166Scperciva// software; you can redistribute it and/or modify it under the 8272166Scperciva// terms of the GNU General Public License as published by the 9272166Scperciva// Free Software Foundation; either version 2, or (at your option) 10272166Scperciva// any later version. 11272166Scperciva 12272166Scperciva// This library is distributed in the hope that it will be useful, 13272166Scperciva// but WITHOUT ANY WARRANTY; without even the implied warranty of 14272166Scperciva// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15272166Scperciva// GNU General Public License for more details. 16272166Scperciva 17272166Scperciva// You should have received a copy of the GNU General Public License along 18272166Scperciva// with this library; see the file COPYING. If not, write to the Free 19272166Scperciva// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 20272166Scperciva// USA. 21272166Scperciva 22272166Scperciva// As a special exception, you may use this file as part of a free software 23272166Scperciva// library without restriction. Specifically, if other files instantiate 24272166Scperciva// templates or use macros or inline functions from this file, or you compile 25272166Scperciva// this file and link it with other files to produce an executable, this 26272166Scperciva// file does not by itself cause the resulting executable to be covered by 27272166Scperciva// the GNU General Public License. This exception does not however 28272166Scperciva// invalidate any other reasons why the executable file might be covered by 29272166Scperciva// the GNU General Public License. 30272166Scperciva 31272166Scperciva// 32272166Scperciva// ISO C++ 14882: 33272166Scperciva// 34272166Scperciva 35272166Scperciva#include <ostream> 36272166Scperciva#include <iomanip> 37272166Scperciva 38272166Scperciva_GLIBCXX_BEGIN_NAMESPACE(std) 39272166Scperciva 40272166Scperciva // ostream 41272166Scperciva template class basic_ostream<char>; 42272166Scperciva template ostream& endl(ostream&); 43272166Scperciva template ostream& ends(ostream&); 44272166Scperciva template ostream& flush(ostream&); 45272166Scperciva template ostream& operator<<(ostream&, char); 46272166Scperciva template ostream& operator<<(ostream&, unsigned char); 47272166Scperciva template ostream& operator<<(ostream&, signed char); 48272166Scperciva template ostream& operator<<(ostream&, const char*); 49272166Scperciva template ostream& operator<<(ostream&, const unsigned char*); 50272166Scperciva template ostream& operator<<(ostream&, const signed char*); 51272166Scperciva 52272166Scperciva template ostream& operator<<(ostream&, _Setfill<char>); 53272166Scperciva template ostream& operator<<(ostream&, _Setiosflags); 54272166Scperciva template ostream& operator<<(ostream&, _Resetiosflags); 55272166Scperciva template ostream& operator<<(ostream&, _Setbase); 56272166Scperciva template ostream& operator<<(ostream&, _Setprecision); 57272166Scperciva template ostream& operator<<(ostream&, _Setw); 58272166Scperciva template ostream& __ostream_insert(ostream&, const char*, streamsize); 59272166Scperciva 60272166Scperciva template ostream& ostream::_M_insert(long); 61272166Scperciva template ostream& ostream::_M_insert(unsigned long); 62272166Scperciva template ostream& ostream::_M_insert(bool); 63272166Scperciva#ifdef _GLIBCXX_USE_LONG_LONG 64272166Scperciva template ostream& ostream::_M_insert(long long); 65272166Scperciva template ostream& ostream::_M_insert(unsigned long long); 66272166Scperciva#endif 67272166Scperciva template ostream& ostream::_M_insert(double); 68272166Scperciva template ostream& ostream::_M_insert(long double); 69272166Scperciva template ostream& ostream::_M_insert(const void*); 70272166Scperciva 71272166Scperciva#ifdef _GLIBCXX_USE_WCHAR_T 72272166Scperciva template class basic_ostream<wchar_t>; 73272166Scperciva template wostream& endl(wostream&); 74272166Scperciva template wostream& ends(wostream&); 75272166Scperciva template wostream& flush(wostream&); 76272166Scperciva template wostream& operator<<(wostream&, wchar_t); 77272166Scperciva template wostream& operator<<(wostream&, char); 78272166Scperciva template wostream& operator<<(wostream&, const wchar_t*); 79272166Scperciva template wostream& operator<<(wostream&, const char*); 80272166Scperciva 81272166Scperciva template wostream& operator<<(wostream&, _Setfill<wchar_t>); 82272166Scperciva template wostream& operator<<(wostream&, _Setiosflags); 83272166Scperciva template wostream& operator<<(wostream&, _Resetiosflags); 84272166Scperciva template wostream& operator<<(wostream&, _Setbase); 85272166Scperciva template wostream& operator<<(wostream&, _Setprecision); 86272166Scperciva template wostream& operator<<(wostream&, _Setw); 87272166Scperciva template wostream& __ostream_insert(wostream&, const wchar_t*, streamsize); 88272166Scperciva 89272166Scperciva template wostream& wostream::_M_insert(long); 90272166Scperciva template wostream& wostream::_M_insert(unsigned long); 91272166Scperciva template wostream& wostream::_M_insert(bool); 92272166Scperciva#ifdef _GLIBCXX_USE_LONG_LONG 93272166Scperciva template wostream& wostream::_M_insert(long long); 94272166Scperciva template wostream& wostream::_M_insert(unsigned long long); 95272166Scperciva#endif 96272166Scperciva template wostream& wostream::_M_insert(double); 97272166Scperciva template wostream& wostream::_M_insert(long double); 98272166Scperciva template wostream& wostream::_M_insert(const void*); 99272166Scperciva#endif 100272166Scperciva 101272166Scperciva_GLIBCXX_END_NAMESPACE 102272166Scperciva 103272166Scperciva// XXX GLIBCXX_ABI Deprecated 104272166Scperciva#ifdef _GLIBCXX_LONG_DOUBLE_COMPAT 105272166Scperciva 106272166Scperciva#define _GLIBCXX_LDBL_COMPAT(dbl, ldbl) \ 107272166Scperciva extern "C" void ldbl (void) __attribute__ ((alias (#dbl), weak)) 108272166Scperciva_GLIBCXX_LDBL_COMPAT (_ZNSolsEd, _ZNSolsEe); 109272166Scperciva_GLIBCXX_LDBL_COMPAT (_ZNSt13basic_ostreamIwSt11char_traitsIwEElsEd, 110272166Scperciva _ZNSt13basic_ostreamIwSt11char_traitsIwEElsEe); 111272166Scperciva_GLIBCXX_LDBL_COMPAT (_ZNSo9_M_insertIdEERSoT_, 112272166Scperciva _ZNSo9_M_insertIeEERSoT_); 113272166Scperciva_GLIBCXX_LDBL_COMPAT (_ZNSt13basic_ostreamIwSt11char_traitsIwEE9_M_insertIdEERS2_T_, 114272166Scperciva _ZNSt13basic_ostreamIwSt11char_traitsIwEE9_M_insertIeEERS2_T_); 115272166Scperciva 116272166Scperciva#endif // _GLIBCXX_LONG_DOUBLE_COMPAT 117272166Scperciva