[PATCH] Instantiate basic_iostream<>

Chip Salzenberg chip@valinux.com
Sat Apr 1 00:00:00 GMT 2000


The recent addition of strstream reveals that misc-inst.cc isn't
instantiating basic_iostream<> like it should.  Here's a patch.

2000-03-05  Chip Salzenberg  <chip@valinux.com>

	* src/misc-inst.cc (basic_iostream<>):  Instantiate.

RCS file: /cvs/libstdc++/libstdc++/src/misc-inst.cc,v
retrieving revision 1.28
diff -u -2 -r1.28 misc-inst.cc
--- misc-inst.cc	1999/12/08 17:57:36	1.28
+++ misc-inst.cc	2000/03/05 12:04:57
@@ -143,4 +143,13 @@
 
   //
+  // iostream
+  //
+  template class basic_iostream<char>;
+#ifdef _GLIBCPP_USE_WCHAR_T
+  template class basic_iostream<wchar_t>; 
+#endif
+
+
+  //
   // istringstream
   //


-- 
Chip Salzenberg              - a.k.a. -              <chip@valinux.com>
"I wanted to play hopscotch with the impenetrable mystery of existence,
    but he stepped in a wormhole and had to go in early."  // MST3K


More information about the Libstdc++ mailing list