Commit 59bd14d8 by Scott Snyder Committed by Benjamin Kosnik

istream.tcc: Include std_ostream.h.


2001-05-27  scott snyder  <snyder@fnal.gov>

	libstdc++/2976
	* include/bits/istream.tcc: Include std_ostream.h.

From-SVN: r42754
parent b3276c7a
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> 2001-05-31 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2997 libstdc++/2997
......
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
// //
#include <bits/std_locale.h> #include <bits/std_locale.h>
#include <bits/std_ostream.h> // for flush()
namespace std namespace std
{ {
......
...@@ -46,7 +46,6 @@ namespace std ...@@ -46,7 +46,6 @@ namespace std
class basic_istream : virtual public basic_ios<_CharT, _Traits> class basic_istream : virtual public basic_ios<_CharT, _Traits>
{ {
public: public:
// Types (inherited from basic_ios (27.4.4)): // Types (inherited from basic_ios (27.4.4)):
typedef _CharT char_type; typedef _CharT char_type;
typedef typename _Traits::int_type int_type; typedef typename _Traits::int_type int_type;
...@@ -215,7 +214,6 @@ namespace std ...@@ -215,7 +214,6 @@ namespace std
class basic_istream<_CharT, _Traits>::sentry class basic_istream<_CharT, _Traits>::sentry
{ {
public: public:
typedef _Traits traits_type; typedef _Traits traits_type;
typedef basic_streambuf<_CharT, _Traits> __streambuf_type; typedef basic_streambuf<_CharT, _Traits> __streambuf_type;
typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_istream<_CharT, _Traits> __istream_type;
...@@ -267,7 +265,6 @@ namespace std ...@@ -267,7 +265,6 @@ namespace std
public basic_ostream<_CharT, _Traits> public basic_ostream<_CharT, _Traits>
{ {
public: public:
// Non-standard Types: // Non-standard Types:
typedef basic_istream<_CharT, _Traits> __istream_type; typedef basic_istream<_CharT, _Traits> __istream_type;
typedef basic_ostream<_CharT, _Traits> __ostream_type; typedef basic_ostream<_CharT, _Traits> __ostream_type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment