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

Public Types

typedef unsigned long _WordT
 

Public Member Functions

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

Static Public Member Functions

static constexpr _WordT _S_maskbit (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_whichword (size_t __pos) noexcept
 

Public Attributes

_WordT _M_w
 

Detailed Description

Base class, specialization for a single word.

See documentation for bitset.

Definition at line 376 of file bitset.

Member Typedef Documentation

◆ _WordT

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

Definition at line 378 of file bitset.

Constructor & Destructor Documentation

◆ _Base_bitset() [1/2]

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

Definition at line 381 of file bitset.

◆ _Base_bitset() [2/2]

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

Definition at line 386 of file bitset.

Member Function Documentation

◆ _M_are_all()

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

Definition at line 469 of file bitset.

◆ _M_do_and()

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

Definition at line 432 of file bitset.

◆ _M_do_count()

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

Definition at line 478 of file bitset.

◆ _M_do_find_first()

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

Definition at line 492 of file bitset.

◆ _M_do_find_next()

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

Definition at line 502 of file bitset.

◆ _M_do_flip()

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

Definition at line 452 of file bitset.

◆ _M_do_left_shift()

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

Definition at line 444 of file bitset.

◆ _M_do_or()

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

Definition at line 436 of file bitset.

◆ _M_do_reset()

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

Definition at line 460 of file bitset.

◆ _M_do_right_shift()

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

Definition at line 448 of file bitset.

◆ _M_do_set()

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

Definition at line 456 of file bitset.

◆ _M_do_to_ullong()

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

Definition at line 487 of file bitset.

◆ _M_do_to_ulong()

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

Definition at line 482 of file bitset.

◆ _M_do_xor()

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

Definition at line 440 of file bitset.

◆ _M_getdata()

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

Definition at line 419 of file bitset.

◆ _M_getword() [1/2]

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

Definition at line 414 of file bitset.

◆ _M_getword() [2/2]

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

Definition at line 410 of file bitset.

◆ _M_hiword() [1/2]

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

Definition at line 428 of file bitset.

◆ _M_hiword() [2/2]

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

Definition at line 424 of file bitset.

◆ _M_is_any()

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

Definition at line 474 of file bitset.

◆ _M_is_equal()

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

Definition at line 464 of file bitset.

◆ _S_maskbit()

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

Definition at line 406 of file bitset.

◆ _S_whichbit()

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

Definition at line 402 of file bitset.

◆ _S_whichbyte()

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

Definition at line 398 of file bitset.

◆ _S_whichword()

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

Definition at line 394 of file bitset.

Member Data Documentation

◆ _M_w

_WordT std::_Base_bitset< 1 >::_M_w

Definition at line 379 of file bitset.


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