bitset File Reference


Detailed Description

This is a Standard C++ Library header.

Definition in file bitset.

Go to the source code of this file.

Namespaces

Defines


Function Documentation

bitset<_Nb> operator & const bitset< _Nb > &  __x,
const bitset< _Nb > &  __y
[inline]
 

Global bitwise operations on bitsets.

Parameters:
x A bitset.
y A bitset of the same size as x.
Returns:
A new bitset.
These should be self-explanatory.

Definition at line 1183 of file bitset.

basic_istream<_CharT, _Traits>& operator>> basic_istream< _CharT, _Traits > &  __is,
bitset< _Nb > &  __x
 

Global I/O operators for bitsets.

Direct I/O between streams and bitsets is supported. Output is straightforward. Input will skip whitespace, only accept '0' and '1' characters, and will only extract as many digits as the bitset will hold.

Definition at line 1220 of file bitset.

References basic_string::empty(), basic_string::push_back(), basic_string::reserve(), basic_streambuf::sbumpc(), and basic_streambuf::sputbackc().

bitset<_Nb> operator^ const bitset< _Nb > &  __x,
const bitset< _Nb > &  __y
[inline]
 

Global bitwise operations on bitsets.

Parameters:
x A bitset.
y A bitset of the same size as x.
Returns:
A new bitset.
These should be self-explanatory.

Definition at line 1201 of file bitset.

bitset<_Nb> operator| const bitset< _Nb > &  __x,
const bitset< _Nb > &  __y
[inline]
 

Global bitwise operations on bitsets.

Parameters:
x A bitset.
y A bitset of the same size as x.
Returns:
A new bitset.
These should be self-explanatory.

Definition at line 1192 of file bitset.


Generated on Sat Apr 2 13:54:44 2005 for libstdc++ source by  doxygen 1.4.0