STD::__DEBUG::BITSET(3cxx)
okay bestie, welcome to the std::__debug::bitset< _Nb >(3cxx) manual page from libstdc++ π
this is the debug-flavored bitset, and yes the template mouthful is part of the charm.
π NAME π
std::__debug::bitset< _Nb >β Classstd::bitsetwith additional safety/checking/debug instrumentation. itβs giving βbitset but make it safeβ energy β¨
β¨ SYNOPSIS β¨
Hereβs the include, untouched and iconic:
#include <bitset>
Inherits bitset< _Nb >. π«Ά
π Public Types π
One public type, and itβs this little icon:
typedef _Base::reference reference
π Public Member Functions π
okay, deep breath β here is the entire member-function roster, every signature copied exactly, no edits, no cap:
constexpr bitset (const _Base &__x)
template<typename _CharT > constexpr bitset (const _CharT *__str,
typename std::basic_string< _CharT >::size_type
__n=std::basic_string< _CharT >::npos, _CharT __zero=_CharT('0'),
_CharT __one=_CharT('1'))
template<class _CharT , class _Traits , class _Alloc > constexpr bitset
(const std::basic_string< _CharT, _Traits, _Alloc > &__str, typename
std::basic_string< _CharT, _Traits, _Alloc >::size_type __pos,
typename std::basic_string< _CharT, _Traits, _Alloc >::size_type
__n, _CharT __zero, _CharT __one=_CharT('1'))
template<typename _CharT , typename _Traits , typename _Alloc >
constexpr bitset (const std::basic_string< _CharT, _Traits, _Alloc >
&__str, typename std::basic_string< _CharT, _Traits, _Alloc
>::size_type __pos=0, typename std::basic_string< _CharT, _Traits,
_Alloc >::size_type __n=(std::basic_string< _CharT, _Traits, _Alloc
>::npos))
constexpr bitset (unsigned long long __val) noexcept
constexpr const _Base & _M_base () const noexcept
constexpr _Base & _M_base () noexcept
constexpr bitset< _Nb > & flip () noexcept
constexpr bitset< _Nb > & flip (size_t __pos)
constexpr bitset< _Nb > & operator&= (const bitset< _Nb > &__rhs)
noexcept
constexpr bitset< _Nb > operator<< (size_t __pos) const noexcept
constexpr bitset< _Nb > & operator<<= (size_t __pos) noexcept
constexpr bool operator== (const bitset< _Nb > &__rhs) const noexcept
constexpr bitset< _Nb > operator>> (size_t __pos) const noexcept
constexpr bitset< _Nb > & operator>>= (size_t __pos) noexcept
constexpr reference operator[] (size_t __pos)
constexpr bool operator[] (size_t __pos) const
constexpr bitset< _Nb > & operator^= (const bitset< _Nb > &__rhs)
noexcept
constexpr bitset< _Nb > & operator|= (const bitset< _Nb > &__rhs)
noexcept
constexpr bitset< _Nb > operator~ () const noexcept
constexpr bitset< _Nb > & reset () noexcept
constexpr bitset< _Nb > & reset (size_t __pos)
constexpr bitset< _Nb > & set () noexcept
constexpr bitset< _Nb > & set (size_t __pos, bool __val=true)
template<typename _CharT , typename _Traits , typename _Alloc >
constexpr std::basic_string< _CharT, _Traits, _Alloc > to_string ()
const
template<typename _CharT , typename _Traits > constexpr
std::basic_string< _CharT, _Traits, std::allocator< _CharT > >
to_string () const
template<typename _CharT > constexpr std::basic_string< _CharT,
std::char_traits< _CharT >, std::allocator< _CharT > > to_string ()
const
constexpr std::basic_string< char, std::char_traits< char >,
std::allocator< char > > to_string () const
template<class _CharT , class _Traits , class _Alloc > constexpr
std::basic_string< _CharT, _Traits, _Alloc > to_string (_CharT
__zero, _CharT __one=_CharT('1')) const
template<class _CharT , class _Traits > constexpr std::basic_string<
_CharT, _Traits, std::allocator< _CharT > > to_string (_CharT
__zero, _CharT __one=_CharT('1')) const
template<class _CharT > constexpr std::basic_string< _CharT,
std::char_traits< _CharT >, std::allocator< _CharT > > to_string
(_CharT __zero, _CharT __one=_CharT('1')) const
constexpr std::basic_string< char, std::char_traits< char >,
std::allocator< char > > to_string (char __zero, char __one='1')
const
yes thatβs the whole list β constructors, _M_base, flip, the bitwise operators, operator[], operator==, reset, set, and the whole to_string overload family. Obsessed with the completeness π
π¦ Detailed Description π¦
Hereβs the template/source snippet exactly as it appears, including that little quote mark situation before Class β we are keeping every character, bestie:
template<size_t _Nb>
class std::__debug::bitset< _Nb >"Class std::bitset with additional
safety/checking/debug instrumentation.
So what is it? Itβs Class std::bitset with additional safety/checking/debug instrumentation. Periodt. β¨ The <bitset> include is up top, it inherits bitset< _Nb >, and all those public members live above. main character bitset behavior, but debug-instrumented π
π Author π
Author: Generated automatically by Doxygen for libstdc++ from the source code. not a human, just Doxygen doing its little robot slay π«Ά
sign-off: brought to you by source/version libstdc++, manual std::__debug::bitset< _Nb >(3cxx), and date: not listed in the original footer β so we are not inventing one, bestie πβ¨π
π¦ 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