2001-05-27 scott snyder <snyder@fnal.gov>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 May 2001 20:33:06 +0000 (20:33 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 31 May 2001 20:33:06 +0000 (20:33 +0000)
libstdc++/2976
* include/bits/istream.tcc: Include std_ostream.h.

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

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

index 1359361..47d2ae4 100644 (file)
@@ -1,3 +1,8 @@
+2001-05-27  scott snyder  <snyder@fnal.gov>
+
+       libstdc++/2976
+       * include/bits/istream.tcc: Include std_ostream.h.
+
 2001-05-31  Benjamin Kosnik  <bkoz@redhat.com>
 
        libstdc++/2997
index 45f8ed2..8132840 100644 (file)
@@ -30,6 +30,7 @@
 //
 
 #include <bits/std_locale.h>
+#include <bits/std_ostream.h> // for flush()
 
 namespace std 
 {
index ec3791e..ad8d25e 100644 (file)
@@ -46,7 +46,6 @@ namespace std
     class basic_istream : virtual public basic_ios<_CharT, _Traits>
     {
     public:
-
       // Types (inherited from basic_ios (27.4.4)):
       typedef _CharT                                   char_type;
       typedef typename _Traits::int_type               int_type;
@@ -215,7 +214,6 @@ namespace std
     class basic_istream<_CharT, _Traits>::sentry
     {
     public:
-
       typedef _Traits                                  traits_type;
       typedef basic_streambuf<_CharT, _Traits>                 __streambuf_type;
       typedef basic_istream<_CharT, _Traits>           __istream_type;
@@ -267,7 +265,6 @@ namespace std
       public basic_ostream<_CharT, _Traits>
     {
     public:
-
       // Non-standard Types:
       typedef basic_istream<_CharT, _Traits>           __istream_type;
       typedef basic_ostream<_CharT, _Traits>           __ostream_type;