STD::TR2::__DYNAMIC_BITSET_BASE(3cxx)

πŸ’– std::tr2::__dynamic_bitset_base< _WordT, _Alloc > πŸ’–

okay bestie, this is the 3cxx manual page and it's giving very specific base-class energy. Keep your allocator close and your words in a std::vector, periodt. πŸ’…


πŸ’– NAME πŸ’–

std::tr2::__dynamic_bitset_base< _WordT, _Alloc > β€” that's the name, no cap. It's the base-class general case, and the full tea is in the dynamic_bitset docs. 🫢


✨ SYNOPSIS ✨

#include <dynamic_bitset>

Inherited by std::tr2::dynamic_bitset< _WordT, _Alloc > [private]. Private-parent energy, iykyk. 🌸

🌈 Public Types 🌈

  • typedef _Alloc allocator_type β€” the allocator type is literally _Alloc, iconic.
  • typedef _WordT block_type β€” the block type is _WordT, exactly as it says.
  • typedef size_t size_type β€” size type is size_t, clean.

πŸ’– Public Member Functions πŸ’–

  • __dynamic_bitset_base (__dynamic_bitset_base &&__b)=default β€” move constructor, defaulted.
  • __dynamic_bitset_base (const __dynamic_bitset_base &)=default β€” copy constructor, also defaulted.
  • __dynamic_bitset_base (const allocator_type &__alloc) β€” constructor taking an allocator_type reference.
  • __dynamic_bitset_base (size_type __nbits, unsigned long long __val=0ULL, const allocator_type &__alloc=allocator_type()) β€” constructor with __nbits, __val defaulting to 0ULL, and __alloc defaulting to allocator_type().
  • size_t _M_are_all_aux () const noexcept β€” returns size_t, const, noexcept.
  • void _M_clear () noexcept β€” returns void, noexcept.
  • void _M_do_and (const __dynamic_bitset_base &__x) noexcept β€” takes const __dynamic_bitset_base &__x, returns void, noexcept.
  • void _M_do_append_block (block_type __block, size_type __pos) β€” takes block_type __block and size_type __pos.
  • size_t _M_do_count () const noexcept β€” returns size_t, const, noexcept.
  • void _M_do_dif (const __dynamic_bitset_base &__x) noexcept β€” yes, it's _M_do_dif, not a typo, bestie. Takes const __dynamic_bitset_base &__x, noexcept.
  • size_type _M_do_find_first (size_t __not_found) const β€” returns size_type, takes size_t __not_found, const.
  • size_type _M_do_find_next (size_t __prev, size_t __not_found) const β€” returns size_type, takes size_t __prev and size_t __not_found, const.
  • void _M_do_flip () noexcept β€” returns void, noexcept.
  • void _M_do_left_shift (size_t __shift) β€” takes size_t __shift.
  • void _M_do_or (const __dynamic_bitset_base &__x) noexcept β€” takes const __dynamic_bitset_base &__x, noexcept.
  • void _M_do_reset () noexcept β€” returns void, noexcept.
  • void _M_do_right_shift (size_t __shift) β€” takes size_t __shift.
  • void _M_do_set () noexcept β€” returns void, noexcept.
  • unsigned long long _M_do_to_ullong () const β€” returns unsigned long long, const.
  • unsigned long _M_do_to_ulong () const β€” returns unsigned long, const.
  • void _M_do_xor (const __dynamic_bitset_base &__x) noexcept β€” takes const __dynamic_bitset_base &__x, noexcept.
  • allocator_type _M_get_allocator () const noexcept β€” returns allocator_type, const, noexcept.
  • block_type _M_getword (size_type __pos) const noexcept β€” returns block_type, takes size_type __pos, const, noexcept.
  • block_type & _M_getword (size_type __pos) noexcept β€” returns block_type &, takes size_type __pos, noexcept.
  • block_type _M_hiword () const noexcept β€” returns block_type, const, noexcept.
  • block_type & _M_hiword () noexcept β€” returns block_type &, noexcept.
  • bool _M_is_any () const noexcept β€” returns bool, const, noexcept.
  • bool _M_is_equal (const __dynamic_bitset_base &__x) const noexcept β€” returns bool, takes const __dynamic_bitset_base &__x, const, noexcept.
  • bool _M_is_less (const __dynamic_bitset_base &__x) const noexcept β€” returns bool, takes const __dynamic_bitset_base &__x, const, noexcept.
  • bool _M_is_proper_subset_of (const __dynamic_bitset_base &__b) const noexcept β€” returns bool, takes const __dynamic_bitset_base &__b, const, noexcept.
  • bool _M_is_subset_of (const __dynamic_bitset_base &__b) noexcept β€” returns bool, takes const __dynamic_bitset_base &__b, noexcept.
  • void _M_resize (size_t __nbits, bool __value) β€” takes size_t __nbits and bool __value.
  • size_type _M_size () const noexcept β€” returns size_type, const, noexcept.
  • void _M_swap (__dynamic_bitset_base &__b) noexcept β€” takes __dynamic_bitset_base &__b, noexcept.
  • __dynamic_bitset_base & operator= (__dynamic_bitset_base &&)=default β€” move assignment, defaulted.
  • __dynamic_bitset_base & operator= (const __dynamic_bitset_base &)=default β€” copy assignment, defaulted.

🌟 Static Public Member Functions 🌟

  • static block_type _S_maskbit (size_type __pos) noexcept β€” static, returns block_type, takes size_type __pos, noexcept.
  • static size_type _S_whichbit (size_type __pos) noexcept β€” static, returns size_type, takes size_type __pos, noexcept.
  • static size_type _S_whichbyte (size_type __pos) noexcept β€” static, returns size_type, takes size_type __pos, noexcept.
  • static size_type _S_whichword (size_type __pos) noexcept β€” static, returns size_type, takes size_type __pos, noexcept.

πŸ¦‹ Public Attributes πŸ¦‹

  • std::vector< block_type, allocator_type > _M_w β€” this is _M_w, and the note is important: 0 is the least significant word. 🫢

πŸŽ€ Static Public Attributes πŸŽ€

  • static const size_type _S_bits_per_block β€” static const size_type.
  • static const size_type npos β€” static const size_type, iconic.

πŸ’œ Detailed Description πŸ’œ

Here's the exact template/code-block situation, stray quote and all β€” I'm not touching it:

template<typename _WordT = unsigned long long, typename _Alloc =
       std::allocator<_WordT>>
       struct std::tr2::__dynamic_bitset_base< _WordT, _Alloc >"Base class,
       general case.

So: Base class, general case. And also: See documentation for dynamic_bitset. That's the whole vibe. ✨


πŸ“ Member Data Documentation πŸ“

The exact member-data block is:

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.

So _M_w is the std::vector<block_type, allocator_type> member, and yes, 0 is the least significant word. no cap. πŸ’…


🌈 Author 🌈

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


okay bye bestie! 🫢 source/version note: the footer has libstd as the source/version chunk, the manual is 3cxx, and there is no date printed on this page. πŸ’–

πŸ“¦ where this page comes from