---
name: "std::tr2::__dynamic_bitset_base"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/std::tr2::__dynamic_bitset_base/3cxx"
---

# std::tr2::\_\_dynamic\_bitset\_base(3cxx)

## NAME

std::tr2::\_\_dynamic\_bitset\_base\< \_WordT, \_Alloc \>

## SYNOPSIS

`#include <dynamic_bitset>`

Inherited by **std::tr2::dynamic\_bitset\< \_WordT, \_Alloc \>**` [private]`.

### Public Types

**typedef** \_Alloc **allocator\_type**\
 **typedef** \_WordT **block\_type**\
 **typedef** size\_t **size\_type**\

### Public Member Functions

**\_\_dynamic\_bitset\_base** (**\_\_dynamic\_bitset\_base** &&\_\_b)=**default**\
 **\_\_dynamic\_bitset\_base** (const **\_\_dynamic\_bitset\_base** &)=**default**\
 **\_\_dynamic\_bitset\_base** (const allocator\_type &**\_\_alloc**)\
 **\_\_dynamic\_bitset\_base** (size\_type **\_\_nbits**, unsigned long long \_\_val=0ULL, const allocator\_type &**\_\_alloc**=allocator\_type())\
 size\_t **\_M\_are\_all\_aux** () const noexcept\
 **void** **\_M\_clear** () noexcept\
 **void** **\_M\_do\_and** (const **\_\_dynamic\_bitset\_base** &\_\_x) noexcept\
 **void** **\_M\_do\_append\_block** (block\_type **\_\_block**, size\_type **\_\_pos**)\
 size\_t **\_M\_do\_count** () const noexcept\
 **void** **\_M\_do\_dif** (const **\_\_dynamic\_bitset\_base** &\_\_x) noexcept\
 size\_type **\_M\_do\_find\_first** (size\_t **\_\_not\_found**) const\
 size\_type **\_M\_do\_find\_next** (size\_t **\_\_prev**, size\_t **\_\_not\_found**) const\
 **void** **\_M\_do\_flip** () noexcept\
 **void** **\_M\_do\_left\_shift** (size\_t **\_\_shift**)\
 **void** **\_M\_do\_or** (const **\_\_dynamic\_bitset\_base** &\_\_x) noexcept\
 **void** **\_M\_do\_reset** () noexcept\
 **void** **\_M\_do\_right\_shift** (size\_t **\_\_shift**)\
 **void** **\_M\_do\_set** () noexcept\
 unsigned long long **\_M\_do\_to\_ullong** () const\
 unsigned long **\_M\_do\_to\_ulong** () const\
 **void** **\_M\_do\_xor** (const **\_\_dynamic\_bitset\_base** &\_\_x) noexcept\
 allocator\_type **\_M\_get\_allocator** () const noexcept\
 block\_type **\_M\_getword** (size\_type **\_\_pos**) const noexcept\
 block\_type & **\_M\_getword** (size\_type **\_\_pos**) noexcept\
 block\_type **\_M\_hiword** () const noexcept\
 block\_type & **\_M\_hiword** () noexcept\
 bool **\_M\_is\_any** () const noexcept\
 bool **\_M\_is\_equal** (const **\_\_dynamic\_bitset\_base** &\_\_x) const noexcept\
 bool **\_M\_is\_less** (const **\_\_dynamic\_bitset\_base** &\_\_x) const noexcept\
 bool **\_M\_is\_proper\_subset\_of** (const **\_\_dynamic\_bitset\_base** &\_\_b) const noexcept\
 bool **\_M\_is\_subset\_of** (const **\_\_dynamic\_bitset\_base** &\_\_b) noexcept\
 **void** **\_M\_resize** (size\_t **\_\_nbits**, bool \_\_value)\
 size\_type **\_M\_size** () const noexcept\
 **void** **\_M\_swap** (**\_\_dynamic\_bitset\_base** &\_\_b) noexcept\
 **\_\_dynamic\_bitset\_base** & **operator=** (**\_\_dynamic\_bitset\_base** &&)=**default**\
 **\_\_dynamic\_bitset\_base** & **operator=** (const **\_\_dynamic\_bitset\_base** &)=**default**\

### Static Public Member Functions

**static** block\_type **\_S\_maskbit** (size\_type **\_\_pos**) noexcept\
 **static** size\_type **\_S\_whichbit** (size\_type **\_\_pos**) noexcept\
 **static** size\_type **\_S\_whichbyte** (size\_type **\_\_pos**) noexcept\
 **static** size\_type **\_S\_whichword** (size\_type **\_\_pos**) noexcept\

### Public Attributes

**std::vector**\< block\_type, allocator\_type \> **\_M\_w**\
 0 is the least significant word.

### Static Public Attributes

**static** const size\_type **\_S\_bits\_per\_block**\
 **static** const size\_type **npos**\

## Detailed Description

### template\<typename \_WordT = unsigned long long, typename \_Alloc = std::allocator\<\_WordT\>\>

struct std::tr2::\_\_dynamic\_bitset\_base\< \_WordT, \_Alloc \>"Base class, general case.

See documentation for dynamic\_bitset.

## Member Data Documentation

### template\<typename \_WordT = unsigned long long, typename \_Alloc = std::allocator\<\_WordT\>\> std::vector\<block\_type, allocator\_type\> std::tr2::\_\_dynamic\_bitset\_base\< \_WordT, \_Alloc \>::\_M\_w

0 is the least significant word.

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
