bitset: Include limits.h.

* bitset: Include limits.h.
	* bitset (class bitset): Declare reference as our friend.

From-SVN: r30430
This commit is contained in:
Martin v. Löwis 1999-11-06 16:20:39 +00:00 committed by Martin v. Löwis
parent 6518355866
commit c683f030df
2 changed files with 8 additions and 0 deletions

View File

@ -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.
1999-08-08 Alexandre Oliva <oliva@dcc.unicamp.br>
* pthread_alloc: Solaris' ctype.h defines _U to 01; use _Up as

View File

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