std::tr2::dynamic_bitset_reference(3cxx)

std::tr2::dynamic_bitset_reference3cxx

Usage

#include <dynamic_bitset>

Public Member Functions

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

Friends

class dynamic_bitset

Detailed Description

template<typename _WordT = unsigned long long, 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.)

Releases

6 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

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

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.