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
This commit is contained in:
Scott Snyder 2001-05-31 20:33:06 +00:00 committed by Benjamin Kosnik
parent b3276c7a5d
commit 59bd14d84a
3 changed files with 6 additions and 3 deletions

View 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

View File

@ -30,6 +30,7 @@
//
#include <bits/std_locale.h>
#include <bits/std_ostream.h> // for flush()
namespace std
{

View 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;