OSDN Git Service

2004-09-02 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Sep 2004 18:58:34 +0000 (18:58 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Sep 2004 18:58:34 +0000 (18:58 +0000)
            Simon Richter  <Simon.Richter@hogyros.de>

PR libstdc++/16715
* include/bits/istream.tcc: Add extern template for iostream
char and wchar_t instantiations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86980 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/istream.tcc

index 7313217..0f4816b 100644 (file)
@@ -1,4 +1,11 @@
 2004-09-02  Benjamin Kosnik  <bkoz@redhat.com>
+            Simon Richter  <Simon.Richter@hogyros.de>
+       
+       PR libstdc++/16715
+       * include/bits/istream.tcc: Add extern template for iostream
+       char and wchar_t instantiations.
+
+2004-09-02  Benjamin Kosnik  <bkoz@redhat.com>
             Leland Wang  <llwang@infor.org>
        
        PR libstdc++/17259
index 09339e9..2399b8b 100644 (file)
@@ -1288,11 +1288,15 @@ namespace std
   extern template istream& operator>>(istream&, unsigned char*);
   extern template istream& operator>>(istream&, signed char*);
 
+  extern template class basic_iostream<char>;
+
 #ifdef _GLIBCXX_USE_WCHAR_T
   extern template class basic_istream<wchar_t>;
   extern template wistream& ws(wistream&);
   extern template wistream& operator>>(wistream&, wchar_t&);
   extern template wistream& operator>>(wistream&, wchar_t*);
+
+  extern template class basic_iostream<wchar_t>;
 #endif
 #endif
 } // namespace std