46 cout <<
"1. bitcount: " << bv.
count() << endl;
56 cout <<
"2. bitcount: " << bv.count() << endl;
61 auto value = bv.get_first();
65 value = bv.get_next(value);
80 cout <<
"3. bitcount: " << bv.count() << endl;
88 cout <<
"4. bitcount: " << bv.count() << endl;
95 cout <<
"5. bitcount: " << bv.count() << endl;
97 catch(std::exception& ex)
99 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)
Bitvector Bit-vector container with runtime compression of bits.
size_type count() const BMNOEXCEPT
population count (count of ON bits)