44 cout <<
"1. bitcount: " << bv.
count() << endl;
54 cout <<
"2. bitcount: " << bv.count() << endl;
59 auto value = bv.get_first();
63 value = bv.get_next(value);
78 cout <<
"3. bitcount: " << bv.count() << endl;
86 cout <<
"4. bitcount: " << bv.count() << endl;
93 cout <<
"5. bitcount: " << bv.count() << endl;
95 catch(std::exception& ex)
97 std::cerr << ex.what() << std::endl;
Compressed bit-vector bvector<> container, set algebraic methods, traversal iterators.
Bitvector Bit-vector container with runtime compression of bits.
size_type count() const BMNOEXCEPT
population cout (count of ON bits)