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

Functions


Function Documentation

bitset<_Nb> std::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>& std::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 _M_copy_from_string(), ios_base::badbit, basic_string::empty(), ios_base::eofbit, ios_base::failbit, ios_base::goodbit, basic_string::push_back(), basic_string::reserve(), basic_streambuf::sbumpc(), and basic_streambuf::sputbackc().


Generated on Wed Apr 27 18:35:19 2005 for libstdc++ source by  doxygen 1.4.2