std::__debug::bitset - Man Page

Class std::bitset with additional safety/checking/debug instrumentation.

Synopsis

Inherits bitset< _Nb >.

Public Types

typedef _Base::reference reference

Public Member Functions

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

Detailed Description

template<size_t _Nb>

class std::__debug::bitset< _Nb >"Class std::bitset with additional safety/checking/debug instrumentation.

Definition at line 44 of file debug/bitset.

Member Typedef Documentation

template<size_t _Nb> typedef _Base::reference std::__debug::bitset< _Nb >::reference

Definition at line 57 of file debug/bitset.

Constructor & Destructor Documentation

template<size_t _Nb> constexpr std::__debug::bitset< _Nb >::bitset () [inline], [constexpr], [noexcept]

Definition at line 133 of file debug/bitset.

template<size_t _Nb> constexpr std::__debug::bitset< _Nb >::bitset (unsigned long long __val) [inline], [constexpr], [noexcept]

Definition at line 137 of file debug/bitset.

template<size_t _Nb> template<typename _CharT , typename _Traits , typename _Alloc > constexpr std::__debug::bitset< _Nb >::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)) [inline], [explicit], [constexpr]

Definition at line 146 of file debug/bitset.

template<size_t _Nb> template<class _CharT , class _Traits , class _Alloc > constexpr std::__debug::bitset< _Nb >::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')) [inline], [constexpr]

Definition at line 157 of file debug/bitset.

template<size_t _Nb> constexpr std::__debug::bitset< _Nb >::bitset (const _Base & __x) [inline], [constexpr]

Definition at line 166 of file debug/bitset.

template<size_t _Nb> template<typename _CharT > constexpr std::__debug::bitset< _Nb >::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')) [inline], [explicit], [constexpr]

Definition at line 172 of file debug/bitset.

Member Function Documentation

template<size_t _Nb> constexpr const _Base & std::__debug::bitset< _Nb >::_M_base () const [inline], [constexpr], [noexcept]

Definition at line 412 of file debug/bitset.

template<size_t _Nb> constexpr _Base & std::__debug::bitset< _Nb >::_M_base () [inline], [constexpr], [noexcept]

Definition at line 407 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > & std::__debug::bitset< _Nb >::flip () [inline], [constexpr], [noexcept]

Definition at line 261 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > & std::__debug::bitset< _Nb >::flip (size_t __pos) [inline], [constexpr]

Definition at line 269 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > & std::__debug::bitset< _Nb >::operator&= (const bitset< _Nb > & __rhs) [inline], [constexpr], [noexcept]

Definition at line 182 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > std::__debug::bitset< _Nb >::operator<< (size_t __pos) const [inline], [constexpr], [noexcept]

Definition at line 395 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > & std::__debug::bitset< _Nb >::operator<<= (size_t __pos) [inline], [constexpr], [noexcept]

Definition at line 204 of file debug/bitset.

template<size_t _Nb> constexpr bool std::__debug::bitset< _Nb >::operator== (const bitset< _Nb > & __rhs) const [inline], [constexpr], [noexcept]

Definition at line 381 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > std::__debug::bitset< _Nb >::operator>> (size_t __pos) const [inline], [constexpr], [noexcept]

Definition at line 402 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > & std::__debug::bitset< _Nb >::operator>>= (size_t __pos) [inline], [constexpr], [noexcept]

Definition at line 214 of file debug/bitset.

template<size_t _Nb> constexpr reference std::__debug::bitset< _Nb >::operator[] (size_t __pos) [inline], [constexpr]

Definition at line 280 of file debug/bitset.

template<size_t _Nb> constexpr bool std::__debug::bitset< _Nb >::operator[] (size_t __pos) const [inline], [constexpr]

Definition at line 293 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > & std::__debug::bitset< _Nb >::operator^= (const bitset< _Nb > & __rhs) [inline], [constexpr], [noexcept]

Definition at line 198 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > & std::__debug::bitset< _Nb >::operator|= (const bitset< _Nb > & __rhs) [inline], [constexpr], [noexcept]

Definition at line 190 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > std::__debug::bitset< _Nb >::operator~ () const [inline], [constexpr], [noexcept]

Definition at line 256 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > & std::__debug::bitset< _Nb >::reset () [inline], [constexpr], [noexcept]

Definition at line 240 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > & std::__debug::bitset< _Nb >::reset (size_t __pos) [inline], [constexpr]

Definition at line 248 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > & std::__debug::bitset< _Nb >::set () [inline], [constexpr], [noexcept]

Definition at line 222 of file debug/bitset.

template<size_t _Nb> constexpr bitset< _Nb > & std::__debug::bitset< _Nb >::set (size_t __pos, bool __val = true) [inline], [constexpr]

Definition at line 232 of file debug/bitset.

template<size_t _Nb> template<typename _CharT , typename _Traits , typename _Alloc > constexpr std::basic_string< _CharT, _Traits, _Alloc > std::__debug::bitset< _Nb >::to_string () const [inline], [constexpr]

Definition at line 310 of file debug/bitset.

template<size_t _Nb> template<typename _CharT , typename _Traits > constexpr std::basic_string< _CharT, _Traits, std::allocator< _CharT > > std::__debug::bitset< _Nb >::to_string () const [inline], [constexpr]

Definition at line 329 of file debug/bitset.

template<size_t _Nb> template<typename _CharT > constexpr std::basic_string< _CharT, std::char_traits< _CharT >, std::allocator< _CharT > > std::__debug::bitset< _Nb >::to_string () const [inline], [constexpr]

Definition at line 345 of file debug/bitset.

template<size_t _Nb> constexpr std::basic_string< char, std::char_traits< char >, std::allocator< char > > std::__debug::bitset< _Nb >::to_string () const [inline], [constexpr]

Definition at line 363 of file debug/bitset.

template<size_t _Nb> template<class _CharT , class _Traits , class _Alloc > constexpr std::basic_string< _CharT, _Traits, _Alloc > std::__debug::bitset< _Nb >::to_string (_CharT __zero, _CharT __one = _CharT('1')) const [inline], [constexpr]

Definition at line 318 of file debug/bitset.

template<size_t _Nb> template<class _CharT , class _Traits > constexpr std::basic_string< _CharT, _Traits, std::allocator< _CharT > > std::__debug::bitset< _Nb >::to_string (_CharT __zero, _CharT __one = _CharT('1')) const [inline], [constexpr]

Definition at line 337 of file debug/bitset.

template<size_t _Nb> template<class _CharT > constexpr std::basic_string< _CharT, std::char_traits< _CharT >, std::allocator< _CharT > > std::__debug::bitset< _Nb >::to_string (_CharT __zero, _CharT __one = _CharT('1')) const [inline], [constexpr]

Definition at line 355 of file debug/bitset.

template<size_t _Nb> constexpr std::basic_string< char, std::char_traits< char >, std::allocator< char > > std::__debug::bitset< _Nb >::to_string (char __zero, char __one = '1') const [inline], [constexpr]

Definition at line 370 of file debug/bitset.

Author

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

Info

Thu Jan 19 2023 libstdc++