77 std::for_each(en, en_end,
Print);
84 for (; en.
valid(); ++en)
90 catch(std::exception& ex)
92 std::cerr << ex.what() << std::endl;
Compressed bit-vector bvector<> container, set algebraic methods, traversal iterators.
enumerator & go_to(size_type pos)
go to a specific position in the bit-vector (or next)
enumerator first() const
Returns enumerator pointing on the first non-zero bit.
bool valid() const
Checks if iterator is still valid.
enumerator end() const
Returns enumerator pointing on the next bit after the last.
Constant iterator designed to enumerate "ON" bits.
void Print(bm::bvector<>::size_type n)