STD::_BASE_BITSET(3cxx)
β¨ NAME β¨
okay so bestie, this is the manual page for std::_Base_bitset< _Nw >, manual section 3cxx β C++ libstdc++ template-base-class energy, no cap. Itβs giving βIβm the base class, the general case, and the docs are about to be very exact about itβ π
π¦ SYNOPSIS π¦
Start here, babes:
#include <bitset>
π Public Types π
typedef unsigned long _WordTβ the word type, spelled exactly like this. Periodt.
π Public Member Functions π
Hereβs the whole lineup, exact signatures, zero edits, because we do not mess with function signatures in this house:
constexpr _Base_bitset (unsigned long long __val) noexcepttemplate<size_t _Nb> constexpr bool _M_are_all () const noexceptconstexpr void _M_do_and (const _Base_bitset< _Nw > &__x) noexceptconstexpr size_t _M_do_count () const noexceptconstexpr size_t _M_do_find_first (size_t) const noexceptconstexpr size_t _M_do_find_next (size_t, size_t) const noexceptconstexpr void _M_do_flip () noexceptconstexpr void _M_do_left_shift (size_t __shift) noexceptconstexpr void _M_do_or (const _Base_bitset< _Nw > &__x) noexceptconstexpr void _M_do_reset () noexceptconstexpr void _M_do_right_shift (size_t __shift) noexceptconstexpr void _M_do_set () noexceptconstexpr unsigned long long _M_do_to_ullong () constconstexpr unsigned long _M_do_to_ulong () constconstexpr void _M_do_xor (const _Base_bitset< _Nw > &__x) noexceptconstexpr const _WordT * _M_getdata () const noexceptconstexpr _WordT _M_getword (size_t __pos) const noexceptconstexpr _WordT & _M_getword (size_t __pos) noexceptconstexpr _WordT _M_hiword () const noexceptconstexpr _WordT & _M_hiword () noexceptconstexpr bool _M_is_any () const noexceptconstexpr bool _M_is_equal (const _Base_bitset< _Nw > &__x) const noexcept
π Static Public Member Functions π
Static gang, stand up:
static constexpr _WordT _S_maskbit (size_t __pos) noexceptstatic constexpr size_t _S_whichbit (size_t __pos) noexceptstatic constexpr size_t _S_whichbyte (size_t __pos) noexceptstatic constexpr size_t _S_whichword (size_t __pos) noexcept
π Public Attributes π
_WordT _M_w [_Nw]β 0 is the least significant word.
πΈ Detailed Description πΈ
The source has this exact struct-and-template moment:
template<size_t _Nw>
struct std::_Base_bitset< _Nw >"Base class, general case. It is a class
invariant that _Nw will be nonnegative.
okay so yes, that stray " is glued onto the struct line in the original β Iβm keeping it because we donβt edit the lore, bestie π The actual tea is: base class, general case, and it is a class invariant that _Nw will be nonnegative.
See documentation for bitset.
π Member Data Documentation π
template<size_t _Nw> _WordT std::_Base_bitset< _Nw >::_M_w[_Nw]
0 is the least significant word.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
Sign-off cuteness: the footer credits libstdc++ as the source/version, and thereβs no date listed there, so Iβm not inventing one β byeee, go read the bitset docs, love u π«Άπ
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms