summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/src/streambuf-inst.cc
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libstdc++/src/streambuf-inst.cc')
-rw-r--r--contrib/libstdc++/src/streambuf-inst.cc32
1 files changed, 21 insertions, 11 deletions
diff --git a/contrib/libstdc++/src/streambuf-inst.cc b/contrib/libstdc++/src/streambuf-inst.cc
index 5d1879a..38fb0d4 100644
--- a/contrib/libstdc++/src/streambuf-inst.cc
+++ b/contrib/libstdc++/src/streambuf-inst.cc
@@ -1,6 +1,6 @@
// Explicit instantiation file.
-// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
+// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
@@ -16,7 +16,7 @@
// You should have received a copy of the GNU General Public License along
// with this library; see the file COPYING. If not, write to the Free
-// Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
// USA.
// As a special exception, you may use this file as part of a free software
@@ -35,22 +35,32 @@
#include <ios>
#include <streambuf>
-namespace std
-{
+_GLIBCXX_BEGIN_NAMESPACE(std)
+
// streambuf
template class basic_streambuf<char>;
+
+ template
+ streamsize
+ __copy_streambufs(basic_streambuf<char>*, basic_streambuf<char>*);
+
+ template
+ streamsize
+ __copy_streambufs_eof(basic_streambuf<char>*,
+ basic_streambuf<char>*, bool&);
+
#ifdef _GLIBCXX_USE_WCHAR_T
+ // wstreambuf
template class basic_streambuf<wchar_t>;
-#endif
template
streamsize
- __copy_streambufs(basic_streambuf<char>*,
- basic_streambuf<char>*);
-#ifdef _GLIBCXX_USE_WCHAR_T
+ __copy_streambufs(basic_streambuf<wchar_t>*, basic_streambuf<wchar_t>*);
+
template
streamsize
- __copy_streambufs(basic_streambuf<wchar_t>*,
- basic_streambuf<wchar_t>*);
+ __copy_streambufs_eof(basic_streambuf<wchar_t>*,
+ basic_streambuf<wchar_t>*, bool&);
#endif
-} //std
+
+_GLIBCXX_END_NAMESPACE
OpenPOWER on IntegriCloud