libstdc++
std::_Base_bitset< 1 > Struct Reference

#include <bitset>

Public Types

typedef unsigned long _WordT
 
typedef unsigned long _WordT
 

Public Member Functions

constexpr _Base_bitset (unsigned long long __val) noexcept
 
constexpr _Base_bitset (unsigned long long __val) noexcept
 
constexpr bool _M_are_all () const noexcept
 
template<size_t _Nb>
constexpr bool _M_are_all () const noexcept
 
constexpr void _M_do_and (const _Base_bitset< 1 > &__x) noexcept
 
constexpr void _M_do_and (const _Base_bitset< _Nw > &__x) noexcept
 
constexpr size_t _M_do_count () const noexcept
 
constexpr size_t _M_do_count () const noexcept
 
constexpr size_t _M_do_find_first (size_t __not_found) const noexcept
 
constexpr size_t _M_do_find_first (size_t) const noexcept
 
constexpr size_t _M_do_find_next (size_t __prev, size_t __not_found) const noexcept
 
constexpr size_t _M_do_find_next (size_t, size_t) const noexcept
 
constexpr void _M_do_flip () noexcept
 
constexpr void _M_do_flip () noexcept
 
constexpr void _M_do_left_shift (size_t __shift) noexcept
 
constexpr void _M_do_left_shift (size_t __shift) noexcept
 
constexpr void _M_do_or (const _Base_bitset< 1 > &__x) noexcept
 
constexpr void _M_do_or (const _Base_bitset< _Nw > &__x) noexcept
 
constexpr void _M_do_reset () noexcept
 
constexpr void _M_do_reset () noexcept
 
constexpr void _M_do_right_shift (size_t __shift) noexcept
 
constexpr void _M_do_right_shift (size_t __shift) noexcept
 
constexpr void _M_do_set () noexcept
 
constexpr void _M_do_set () noexcept
 
constexpr unsigned long long _M_do_to_ullong () const
 
constexpr unsigned long long _M_do_to_ullong () const noexcept
 
constexpr unsigned long _M_do_to_ulong () const
 
constexpr unsigned long _M_do_to_ulong () const noexcept
 
constexpr void _M_do_xor (const _Base_bitset< 1 > &__x) noexcept
 
constexpr void _M_do_xor (const _Base_bitset< _Nw > &__x) noexcept
 
constexpr const _WordT * _M_getdata () const noexcept
 
constexpr const _WordT * _M_getdata () const noexcept
 
constexpr _WordT _M_getword (size_t __pos) const noexcept
 
constexpr _WordT & _M_getword (size_t __pos) noexcept
 
constexpr _WordT _M_getword (size_t) const noexcept
 
constexpr _WordT & _M_getword (size_t) noexcept
 
constexpr _WordT _M_hiword () const noexcept
 
constexpr _WordT _M_hiword () const noexcept
 
constexpr _WordT & _M_hiword () noexcept
 
constexpr _WordT & _M_hiword () noexcept
 
constexpr bool _M_is_any () const noexcept
 
constexpr bool _M_is_any () const noexcept
 
constexpr bool _M_is_equal (const _Base_bitset< 1 > &__x) const noexcept
 
constexpr bool _M_is_equal (const _Base_bitset< _Nw > &__x) const noexcept
 

Static Public Member Functions

static constexpr _WordT _S_maskbit (size_t __pos) noexcept
 
static constexpr _WordT _S_maskbit (size_t __pos) noexcept
 
static constexpr size_t _S_whichbit (size_t __pos) noexcept
 
static constexpr size_t _S_whichbit (size_t __pos) noexcept
 
static constexpr size_t _S_whichbyte (size_t __pos) noexcept
 
static constexpr size_t _S_whichbyte (size_t __pos) noexcept
 
static constexpr size_t _S_whichword (size_t __pos) noexcept
 
static constexpr size_t _S_whichword (size_t __pos) noexcept
 

Public Attributes

_WordT _M_w [_Nw]
 
_WordT _M_w
 

Detailed Description

Base class, specialization for a single word.

See documentation for bitset.

Definition at line 414 of file bitset.

Member Typedef Documentation

◆ _WordT [1/2]

typedef unsigned long std::_Base_bitset< _Nw >::_WordT

Definition at line 91 of file bitset.

◆ _WordT [2/2]

typedef unsigned long std::_Base_bitset< 1 >::_WordT

Definition at line 416 of file bitset.

Constructor & Destructor Documentation

◆ _Base_bitset() [1/4]

std::_Base_bitset< 1 >::_Base_bitset ( )
inlineconstexprnoexcept

Definition at line 419 of file bitset.

◆ _Base_bitset() [2/4]

std::_Base_bitset< 1 >::_Base_bitset ( unsigned long long __val)
inlineconstexprnoexcept

Definition at line 424 of file bitset.

◆ _Base_bitset() [3/4]

std::_Base_bitset< _Nw >::_Base_bitset ( )
inlineconstexprnoexcept

Definition at line 96 of file bitset.

◆ _Base_bitset() [4/4]

std::_Base_bitset< _Nw >::_Base_bitset ( unsigned long long __val)
inlineconstexprnoexcept

Definition at line 100 of file bitset.

Member Function Documentation

◆ _M_are_all() [1/2]

bool std::_Base_bitset< _Nw >::_M_are_all ( ) const
inlineconstexprnoexcept

Definition at line 229 of file bitset.

◆ _M_are_all() [2/2]

template<size_t _Nb>
bool std::_Base_bitset< 1 >::_M_are_all ( ) const
inlineconstexprnoexcept

Definition at line 507 of file bitset.

◆ _M_do_and() [1/2]

void std::_Base_bitset< 1 >::_M_do_and ( const _Base_bitset< 1 > & __x)
inlineconstexprnoexcept

Definition at line 470 of file bitset.

◆ _M_do_and() [2/2]

void std::_Base_bitset< _Nw >::_M_do_and ( const _Base_bitset< _Nw > & __x)
inlineconstexprnoexcept

Definition at line 151 of file bitset.

◆ _M_do_count() [1/2]

size_t std::_Base_bitset< _Nw >::_M_do_count ( ) const
inlineconstexprnoexcept

Definition at line 249 of file bitset.

◆ _M_do_count() [2/2]

size_t std::_Base_bitset< 1 >::_M_do_count ( ) const
inlineconstexprnoexcept

Definition at line 516 of file bitset.

◆ _M_do_find_first() [1/2]

size_t std::_Base_bitset< 1 >::_M_do_find_first ( size_t __not_found) const
inlineconstexprnoexcept

Definition at line 530 of file bitset.

◆ _M_do_find_first() [2/2]

size_t std::_Base_bitset< _Nw >::_M_do_find_first ( size_t __not_found) const
constexprnoexcept

Definition at line 267 of file bitset.

◆ _M_do_find_next() [1/2]

size_t std::_Base_bitset< 1 >::_M_do_find_next ( size_t __prev,
size_t __not_found ) const
inlineconstexprnoexcept

Definition at line 540 of file bitset.

◆ _M_do_find_next() [2/2]

size_t std::_Base_bitset< _Nw >::_M_do_find_next ( size_t __prev,
size_t __not_found ) const
constexprnoexcept

Definition at line 271 of file bitset.

◆ _M_do_flip() [1/2]

void std::_Base_bitset< _Nw >::_M_do_flip ( )
inlineconstexprnoexcept

Definition at line 178 of file bitset.

◆ _M_do_flip() [2/2]

void std::_Base_bitset< 1 >::_M_do_flip ( )
inlineconstexprnoexcept

Definition at line 490 of file bitset.

◆ _M_do_left_shift() [1/2]

void std::_Base_bitset< _Nw >::_M_do_left_shift ( size_t __shift)
constexprnoexcept

Definition at line 172 of file bitset.

◆ _M_do_left_shift() [2/2]

void std::_Base_bitset< 1 >::_M_do_left_shift ( size_t __shift)
inlineconstexprnoexcept

Definition at line 482 of file bitset.

◆ _M_do_or() [1/2]

void std::_Base_bitset< 1 >::_M_do_or ( const _Base_bitset< 1 > & __x)
inlineconstexprnoexcept

Definition at line 474 of file bitset.

◆ _M_do_or() [2/2]

void std::_Base_bitset< _Nw >::_M_do_or ( const _Base_bitset< _Nw > & __x)
inlineconstexprnoexcept

Definition at line 158 of file bitset.

◆ _M_do_reset() [1/2]

void std::_Base_bitset< _Nw >::_M_do_reset ( )
inlineconstexprnoexcept

Definition at line 199 of file bitset.

◆ _M_do_reset() [2/2]

void std::_Base_bitset< 1 >::_M_do_reset ( )
inlineconstexprnoexcept

Definition at line 498 of file bitset.

◆ _M_do_right_shift() [1/2]

void std::_Base_bitset< _Nw >::_M_do_right_shift ( size_t __shift)
constexprnoexcept

Definition at line 175 of file bitset.

◆ _M_do_right_shift() [2/2]

void std::_Base_bitset< 1 >::_M_do_right_shift ( size_t __shift)
inlineconstexprnoexcept

Definition at line 486 of file bitset.

◆ _M_do_set() [1/2]

void std::_Base_bitset< _Nw >::_M_do_set ( )
inlineconstexprnoexcept

Definition at line 185 of file bitset.

◆ _M_do_set() [2/2]

void std::_Base_bitset< 1 >::_M_do_set ( )
inlineconstexprnoexcept

Definition at line 494 of file bitset.

◆ _M_do_to_ullong() [1/2]

unsigned long long std::_Base_bitset< _Nw >::_M_do_to_ullong ( ) const
constexpr

Definition at line 262 of file bitset.

◆ _M_do_to_ullong() [2/2]

unsigned long long std::_Base_bitset< 1 >::_M_do_to_ullong ( ) const
inlineconstexprnoexcept

Definition at line 525 of file bitset.

◆ _M_do_to_ulong() [1/2]

unsigned long std::_Base_bitset< _Nw >::_M_do_to_ulong ( ) const
constexpr

Definition at line 258 of file bitset.

◆ _M_do_to_ulong() [2/2]

unsigned long std::_Base_bitset< 1 >::_M_do_to_ulong ( ) const
inlineconstexprnoexcept

Definition at line 520 of file bitset.

◆ _M_do_xor() [1/2]

void std::_Base_bitset< 1 >::_M_do_xor ( const _Base_bitset< 1 > & __x)
inlineconstexprnoexcept

Definition at line 478 of file bitset.

◆ _M_do_xor() [2/2]

void std::_Base_bitset< _Nw >::_M_do_xor ( const _Base_bitset< _Nw > & __x)
inlineconstexprnoexcept

Definition at line 165 of file bitset.

◆ _M_getdata() [1/2]

const _WordT * std::_Base_bitset< _Nw >::_M_getdata ( ) const
inlineconstexprnoexcept

Definition at line 138 of file bitset.

◆ _M_getdata() [2/2]

const _WordT * std::_Base_bitset< 1 >::_M_getdata ( ) const
inlineconstexprnoexcept

Definition at line 457 of file bitset.

◆ _M_getword() [1/4]

_WordT std::_Base_bitset< _Nw >::_M_getword ( size_t __pos) const
inlineconstexprnoexcept

Definition at line 133 of file bitset.

◆ _M_getword() [2/4]

_WordT & std::_Base_bitset< _Nw >::_M_getword ( size_t __pos)
inlineconstexprnoexcept

Definition at line 129 of file bitset.

◆ _M_getword() [3/4]

_WordT std::_Base_bitset< 1 >::_M_getword ( size_t ) const
inlineconstexprnoexcept

Definition at line 452 of file bitset.

◆ _M_getword() [4/4]

_WordT & std::_Base_bitset< 1 >::_M_getword ( size_t )
inlineconstexprnoexcept

Definition at line 448 of file bitset.

◆ _M_hiword() [1/4]

_WordT std::_Base_bitset< _Nw >::_M_hiword ( ) const
inlineconstexprnoexcept

Definition at line 147 of file bitset.

◆ _M_hiword() [2/4]

_WordT std::_Base_bitset< 1 >::_M_hiword ( ) const
inlineconstexprnoexcept

Definition at line 466 of file bitset.

◆ _M_hiword() [3/4]

_WordT & std::_Base_bitset< _Nw >::_M_hiword ( )
inlineconstexprnoexcept

Definition at line 143 of file bitset.

◆ _M_hiword() [4/4]

_WordT & std::_Base_bitset< 1 >::_M_hiword ( )
inlineconstexprnoexcept

Definition at line 462 of file bitset.

◆ _M_is_any() [1/2]

bool std::_Base_bitset< _Nw >::_M_is_any ( ) const
inlineconstexprnoexcept

Definition at line 240 of file bitset.

◆ _M_is_any() [2/2]

bool std::_Base_bitset< 1 >::_M_is_any ( ) const
inlineconstexprnoexcept

Definition at line 512 of file bitset.

◆ _M_is_equal() [1/2]

bool std::_Base_bitset< 1 >::_M_is_equal ( const _Base_bitset< 1 > & __x) const
inlineconstexprnoexcept

Definition at line 502 of file bitset.

◆ _M_is_equal() [2/2]

bool std::_Base_bitset< _Nw >::_M_is_equal ( const _Base_bitset< _Nw > & __x) const
inlineconstexprnoexcept

Definition at line 213 of file bitset.

◆ _S_maskbit() [1/2]

static constexpr _WordT std::_Base_bitset< _Nw >::_S_maskbit ( size_t __pos)
inlinestaticconstexprnoexcept

Definition at line 125 of file bitset.

◆ _S_maskbit() [2/2]

static constexpr _WordT std::_Base_bitset< 1 >::_S_maskbit ( size_t __pos)
inlinestaticconstexprnoexcept

Definition at line 444 of file bitset.

◆ _S_whichbit() [1/2]

static constexpr size_t std::_Base_bitset< _Nw >::_S_whichbit ( size_t __pos)
inlinestaticconstexprnoexcept

Definition at line 121 of file bitset.

◆ _S_whichbit() [2/2]

static constexpr size_t std::_Base_bitset< 1 >::_S_whichbit ( size_t __pos)
inlinestaticconstexprnoexcept

Definition at line 440 of file bitset.

◆ _S_whichbyte() [1/2]

static constexpr size_t std::_Base_bitset< _Nw >::_S_whichbyte ( size_t __pos)
inlinestaticconstexprnoexcept

Definition at line 117 of file bitset.

◆ _S_whichbyte() [2/2]

static constexpr size_t std::_Base_bitset< 1 >::_S_whichbyte ( size_t __pos)
inlinestaticconstexprnoexcept

Definition at line 436 of file bitset.

◆ _S_whichword() [1/2]

static constexpr size_t std::_Base_bitset< _Nw >::_S_whichword ( size_t __pos)
inlinestaticconstexprnoexcept

Definition at line 113 of file bitset.

◆ _S_whichword() [2/2]

static constexpr size_t std::_Base_bitset< 1 >::_S_whichword ( size_t __pos)
inlinestaticconstexprnoexcept

Definition at line 432 of file bitset.

Member Data Documentation

◆ _M_w [1/2]

_WordT std::_Base_bitset< _Nw >::_M_w[_Nw]

0 is the least significant word.

Definition at line 94 of file bitset.

◆ _M_w [2/2]

_WordT std::_Base_bitset< 1 >::_M_w

Definition at line 417 of file bitset.


The documentation for this struct was generated from the following file: