|
| template<size_t Nb> |
| bitset< Nb > | operator& (const bitset< Nb > &x, const bitset< Nb > &y) noexcept |
| | Global bitwise operations on bitsets.
|
| template<size_t Nb> |
| bitset< Nb > | operator| (const bitset< Nb > &x, const bitset< Nb > &y) noexcept |
| template<size_t Nb> |
| bitset< Nb > | operator^ (const bitset< Nb > &x, const bitset< Nb > &y) noexcept |
| template<class _CharT, class _Traits, size_t Nb> |
| std::basic_istream< _CharT, _Traits > & | operator>> (std::basic_istream< _CharT, _Traits > &__is, bitset< Nb > &x) |
| | Global I/O operators for bitsets.
|
| template<class _CharT, class _Traits, size_t Nb> |
| std::basic_ostream< _CharT, _Traits > & | operator<< (std::basic_ostream< _CharT, _Traits > &os, const bitset< Nb > &x) |
template<class _CharT, class _Traits, size_t Nb>
| std::basic_istream< _CharT, _Traits > & universal_bitset::operator>> |
( |
std::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.