logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

std::tr2::dynamic_bitset< _WordT, _Alloc >::reference

Author

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

                                                    libstdstd::tr2::dynamic_bits...dT,_Alloc>::reference(3cxx)

Detailed Description

template<typename_WordT=unsignedlonglong,typename_Alloc=std::allocator<_WordT>>
       class std::tr2::dynamic_bitset< _WordT, _Alloc >::reference"This encapsulates the concept of a single
       bit. An instance of this class is a proxy for an actual bit; this way the individual bit operations are
       done as faster word-size bitwise instructions.

       Most users will never need to use this class directly; conversions to and from bool are automatic and
       should be transparent. Overloaded operators help to preserve the illusion.

       (On a typical system, this 'bit %reference' is 64 times the size of an actual bit. Ha.)

Name

       std::tr2::dynamic_bitset< _WordT, _Alloc >::reference

Synopsis

       #include <dynamic_bitset>

   PublicMemberFunctionsreference (dynamic_bitset &__b, size_type __pos) noexcept
       reference & flip () noexcept
       operatorbool () const noexcept
       reference & operator= (bool __x) noexcept
       reference & operator= (const reference &__j) noexcept
       bool operator~ () const noexcept

   Friendsclassdynamic_bitset

See Also