#include "atomics.hh"
Public Member Functions | |
Iter & | big_inc1 () |
bool | clear () |
bool | done () const |
bool | is_set () const |
Iter ()=default | |
Iter (AtomicBits *a, size_t p) | |
Iter (const Iter &)=default | |
operator bool () const | |
bool | operator!= (bool b) const |
bool | operator!= (const Iter &o) const |
Iter & | operator&= (bool toggle) |
Iter & | operator++ () |
Iter & | operator++ (int) |
Iter & | operator= (bool toggle) |
Iter & | operator= (const Iter &)=default |
bool | operator== (bool b) const |
bool | operator== (const Iter &o) const |
Iter & | operator^= (bool toggle) |
Iter & | operator|= (bool toggle) |
size_t | position () const |
bool | set (bool toggle) |
bool | valid () const |
bool | xor_ (bool toggle) |
|
explicit |
|
default |
size_t position | ( | ) | const |
bool is_set | ( | ) | const |
bool done | ( | ) | const |
bool valid | ( | ) | const |
bool clear | ( | ) |
bool set | ( | bool | toggle | ) |
bool xor_ | ( | bool | toggle | ) |
AtomicBits::Iter & big_inc1 | ( | ) |
Increment iterator by 1, allow big increments skipping zero bits.
Iter & operator= | ( | bool | toggle | ) |
Iter & operator^= | ( | bool | toggle | ) |
Iter & operator|= | ( | bool | toggle | ) |
Iter & operator&= | ( | bool | toggle | ) |
Iter & operator++ | ( | ) |
Iter & operator++ | ( | int | ) |
bool operator== | ( | const Iter & | o | ) | const |
bool operator== | ( | bool | b | ) | const |
bool operator!= | ( | bool | b | ) | const |
|
explicit |