mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 00:41:03 +08:00
bitset: Include limits.h.
* bitset: Include limits.h. * bitset (class bitset): Declare reference as our friend. From-SVN: r30430
This commit is contained in:
parent
6518355866
commit
c683f030df
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user