diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2000-06-05 22:23:47 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2000-06-05 22:23:47 +0000 |
commit | 4b8bb462dc50037b8a2d3748769841c6fb66c7bc (patch) | |
tree | 96312b17e2fd9995bb136adef1f065f367341c7b /gnu/egcs/libstdc++/stl | |
parent | bc01f7371c47d797fb0aaff6be8286e934d81e0a (diff) |
Synch with 2.95.3 (pre-rel)
Diffstat (limited to 'gnu/egcs/libstdc++/stl')
-rw-r--r-- | gnu/egcs/libstdc++/stl/ChangeLog | 5 | ||||
-rw-r--r-- | gnu/egcs/libstdc++/stl/bitset | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gnu/egcs/libstdc++/stl/ChangeLog b/gnu/egcs/libstdc++/stl/ChangeLog index aa4aa155d7e..785fb587e82 100644 --- a/gnu/egcs/libstdc++/stl/ChangeLog +++ b/gnu/egcs/libstdc++/stl/ChangeLog @@ -1,3 +1,8 @@ +1999-11-06 Martin v. Löwis <loewis@informatik.hu-berlin.de> + + * bitset (class bitset): Declare reference as our friend. + * bitset: Include limits.h. + Sun Oct 24 23:54:10 PDT 1999 Jeff Law (law@cygnus.com) * gcc-2.95.2 Released. diff --git a/gnu/egcs/libstdc++/stl/bitset b/gnu/egcs/libstdc++/stl/bitset index e26845ed045..8b4f8b1a0f8 100644 --- a/gnu/egcs/libstdc++/stl/bitset +++ b/gnu/egcs/libstdc++/stl/bitset @@ -36,6 +36,7 @@ #include <stddef.h> // for size_t +#include <limits.h> // for CHAR_BIT #include <string> #include <stdexcept> // for invalid_argument, out_of_range, overflow_error #include <iostream.h> // for istream, ostream @@ -568,6 +569,8 @@ private: public: // bit reference: + class reference; + friend class reference; class reference { friend class bitset; |