#include <cstddef>
#include <cstring>
#include <limits>
#include <string>
#include <bits/functexcept.h>
#include <ostream>
#include <istream>
Go to the source code of this file.
Namespaces | |
namespace | _GLIBCXX_STD |
Classes | |
struct | _GLIBCXX_STD::_Base_bitset< _Nw > |
struct | _GLIBCXX_STD::_Base_bitset< 1 > |
struct | _GLIBCXX_STD::_Base_bitset< 0 > |
struct | _GLIBCXX_STD::_Sanitize< _Extrabits > |
struct | _GLIBCXX_STD::_Sanitize< 0 > |
class | _GLIBCXX_STD::bitset< _Nb > |
The bitset class represents a fixed-size sequence of bits. More... | |
class | _GLIBCXX_STD::bitset< _Nb >::reference |
template<size_t _Nb> | |
bitset< _Nb > | _GLIBCXX_STD::operator & (const bitset< _Nb > &__x, const bitset< _Nb > &__y) |
Global bitwise operations on bitsets. | |
template<size_t _Nb> | |
bitset< _Nb > | _GLIBCXX_STD::operator| (const bitset< _Nb > &__x, const bitset< _Nb > &__y) |
template<size_t _Nb> | |
bitset< _Nb > | _GLIBCXX_STD::operator^ (const bitset< _Nb > &__x, const bitset< _Nb > &__y) |
template<class _CharT, class _Traits, size_t _Nb> | |
std::basic_istream< _CharT, _Traits > & | _GLIBCXX_STD::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 > & | _GLIBCXX_STD::operator<< (std::basic_ostream< _CharT, _Traits > &__os, const bitset< _Nb > &__x) |
Defines | |
#define | _GLIBCXX_BITSET 1 |
#define | _GLIBCXX_BITSET_BITS_PER_WORD numeric_limits<unsigned long>::digits |
#define | _GLIBCXX_BITSET_WORDS(__n) |
#define _GLIBCXX_BITSET_BITS_PER_WORD numeric_limits<unsigned long>::digits |
Definition at line 61 of file bitset.
Referenced by _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_find_first(), _GLIBCXX_STD::_Base_bitset< 1 >::_M_do_find_next(), _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_find_next(), _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_left_shift(), _GLIBCXX_STD::_Base_bitset< _Nw >::_M_do_right_shift(), _GLIBCXX_STD::_Base_bitset< 0 >::_S_whichbit(), _GLIBCXX_STD::_Base_bitset< 1 >::_S_whichbit(), _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_S_whichbit(), _GLIBCXX_STD::_Base_bitset< 0 >::_S_whichbyte(), _GLIBCXX_STD::_Base_bitset< 1 >::_S_whichbyte(), _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_S_whichbyte(), _GLIBCXX_STD::_Base_bitset< 0 >::_S_whichword(), _GLIBCXX_STD::_Base_bitset< 1 >::_S_whichword(), and _GLIBCXX_STD::_Base_bitset< _GLIBCXX_BITSET_WORDS(_Nb)>::_S_whichword().
#define _GLIBCXX_BITSET_WORDS | ( | __n | ) |
Value:
((__n) < 1 ? 0 : ((__n) + _GLIBCXX_BITSET_BITS_PER_WORD - 1) \ / _GLIBCXX_BITSET_BITS_PER_WORD)