The const_iterator class. It iterates on the individual bits. More...
#include <bitvector.h>
Public Member Functions | |
const_iterator (const const_iterator &r) | |
int | operator!= (const const_iterator &rhs) const throw () |
Comparing two iterators. More... | |
bool | operator* () const |
Dereference the current bit value. No error checking. | |
const_iterator & | operator++ () |
Increment the iterator. Move on to the next bit. | |
const_iterator & | operator+= (int incr) |
const_iterator & | operator-- () |
Decrement the iterator. Move back one bit. | |
const_iterator & | operator= (const const_iterator &r) |
int | operator== (const const_iterator &rhs) const throw () |
Friends | |
const_iterator | ibis::bitvector::begin () const |
const_iterator | ibis::bitvector::end () const |
void | ibis::bitvector::erase (word_t i, word_t j) |
class | ibis::bitvector::iterator |
The const_iterator class. It iterates on the individual bits.
|
inline |
Comparing two iterators.
It actually only check the value of the iterator pointing to m_vec.