79 std::for_each(en, en_end,
Print);
86 for (; en.
valid(); ++en)
92 catch(std::exception& ex)
94 std::cerr << ex.what() << std::endl;
Compressed bit-vector bvector<> container, set algebraic methods, traversal iterators.
pre-processor un-defines to avoid global space pollution (internal)
Constant iterator designed to enumerate "ON" bits.
bool go_to(size_type pos) BMNOEXCEPT
go to a specific position in the bit-vector (or next)
bool valid() const BMNOEXCEPT
Checks if iterator is still valid.
Bitvector Bit-vector container with runtime compression of bits.
bvector_size_type size_type
enumerator first() const
Returns enumerator pointing on the first non-zero bit.
enumerator end() const
Returns enumerator pointing on the next bit after the last.
void Print(bm::bvector<>::size_type n)