aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Edwards <pme@gcc.gnu.org>2001-03-24 23:46:38 +0000
committerPhil Edwards <pme@gcc.gnu.org>2001-03-24 23:46:38 +0000
commit2c085782da99d1feae09f3670f9f4f4fc970ae2c (patch)
tree37ec4576b21f21cb1b24aad005d1d5d3415b8732
parent9b70259dca0893738152e19465f0c2b57e160670 (diff)
downloadgcc-2c085782da99d1feae09f3670f9f4f4fc970ae2c.zip
gcc-2c085782da99d1feae09f3670f9f4f4fc970ae2c.tar.gz
gcc-2c085782da99d1feae09f3670f9f4f4fc970ae2c.tar.bz2
std_bitset.h: Include ostream and istream headers instead of iostream.
2001-03-24 Phil Edwards <pme@sources.redhat.com> * include/bits/std_bitset.h: Include ostream and istream headers instead of iostream. From-SVN: r40820
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/bits/std_bitset.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 3c2cfcc..13fe077 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-24 Phil Edwards <pme@sources.redhat.com>
+
+ * include/bits/std_bitset.h: Include ostream and istream headers
+ instead of iostream.
+
2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
* include/bits/ostream.tcc: Use __builtin_alloca.
diff --git a/libstdc++-v3/include/bits/std_bitset.h b/libstdc++-v3/include/bits/std_bitset.h
index 9ea657f..4b44272 100644
--- a/libstdc++-v3/include/bits/std_bitset.h
+++ b/libstdc++-v3/include/bits/std_bitset.h
@@ -38,7 +38,8 @@
#include <bits/std_stdexcept.h> // for invalid_argument, out_of_range,
// overflow_error
-#include <bits/std_iostream.h> // for istream, ostream
+#include <bits/std_ostream.h> // for ostream (operator<<)
+#include <bits/std_istream.h> // for istream (operator>>)
#define _GLIBCPP_BITSET_BITS_PER_WORD (CHAR_BIT*sizeof(unsigned long))
#define __BITSET_WORDS(__n) \