Anklang C++ API 0.0.0
Loading...
Searching...
No Matches
AtomicBits::Iter

#include "atomics.hh"

Public Member Functions

Iter &big_inc1 ()
boolclear ()
booldone () const
boolis_set () const
Iter ()=default
Iter (AtomicBits *a, size_t p)
Iter (const Iter &)=default
operator bool () const
booloperator!= (bool b) const
booloperator!= (const Iter &o) const
Iter &operator&= (bool toggle)
Iter &operator++ ()
Iter &operator++ (int)
Iter &operator= (bool toggle)
Iter &operator= (const Iter &)=default
booloperator== (bool b) const
booloperator== (const Iter &o) const
Iter &operator^= (bool toggle)
Iter &operator|= (bool toggle)
size_tposition () const
boolset (bool toggle)
boolvalid () const
boolxor_ (bool toggle)

Constructor & Destructor Documentation

Iter() [1/3]

Iter ( AtomicBits * a,
size_t p
)
explicit

Iter() [2/3]

Iter ( )
default

Iter() [3/3]

Iter ( const Iter & )
default

Member Function Documentation

operator=() [1/2]

Iter & operator= ( const Iter & )
default

position()

size_t position ( ) const

is_set()

bool is_set ( ) const

done()

bool done ( ) const

valid()

bool valid ( ) const

clear()

bool clear ( )

set()

bool set ( bool toggle)

xor_()

bool xor_ ( bool toggle)

big_inc1()

AtomicBits::Iter & big_inc1 ( )

Increment iterator by 1, allow big increments skipping zero bits.

operator=() [2/2]

Iter & operator= ( bool toggle)

operator^=()

Iter & operator^= ( bool toggle)

operator|=()

Iter & operator|= ( bool toggle)

operator&=()

Iter & operator&= ( bool toggle)

operator++() [1/2]

Iter & operator++ ( )

operator++() [2/2]

Iter & operator++ ( int )

operator==() [1/2]

bool operator== ( const Iter & o) const

operator!=() [1/2]

bool operator!= ( const Iter & o) const

operator==() [2/2]

bool operator== ( bool b) const

operator!=() [2/2]

bool operator!= ( bool b) const

operator bool()

operator bool ( ) const
explicit