|
BitMagic-C++
|
Example: bvector<> methods to find last bit and bit-vectors effective range. More...
#include <stdlib.h>#include <iostream>#include <vector>#include <cassert>#include "bm.h"#include "bmundef.h"
Go to the source code of this file.
Functions | |
| static void | fill_bvector (bm::bvector<> *bv) |
| int | main (void) |
Variables | |
| const unsigned | MAX_VALUE = 10000000 |
Example: bvector<> methods to find last bit and bit-vectors effective range.
Definition in file sample15.cpp.
|
static |
Definition at line 49 of file sample15.cpp.
References MAX_VALUE, and bm::bvector< Alloc >::set().
Referenced by main().
| int main | ( | void | ) |
Definition at line 62 of file sample15.cpp.
References bm::bvector< Alloc >::count(), fill_bvector(), bm::bvector< Alloc >::find(), bm::bvector< Alloc >::find_range(), bm::bvector< Alloc >::find_reverse(), and bm::bvector< Alloc >::test().
| const unsigned MAX_VALUE = 10000000 |
Definition at line 46 of file sample15.cpp.