57 cout <<
"BitCount = " << count << endl;
58 cout <<
"Max possible ID = " <<
bm::id_max-1 << endl;
61 bool range_found = bv.find_range(first, last);
65 cout <<
"[" << first <<
", " << last <<
"]" << endl;
70 auto full_count = bv_full.
count();
71 cout <<
"Full vector bitcount = " << full_count << endl;
77 for (; en.
valid(); ++en)
84 catch(std::exception& ex)
86 std::cerr << ex.what() << std::endl;
unsigned long long int id64_t
bvector< Alloc > & set(size_type n, bool val=true)
Sets bit n if val is true, clears bit n if val is false.
size_type count() const
population cout (count of ON bits)
bool valid() const
Checks if iterator is still valid.
Constant iterator designed to enumerate "ON" bits.