BitMagic-C++
|
Mini bit-vector for auxiliary purposes. More...
#include <bmvmin.h>
Public Member Functions | |
bvmini (int=0) | |
bvmini (const bvmini &mset) | |
unsigned | test (bm::id_t n) const |
Checks if bit pos 1 or 0. Returns 0 if 0 and non zero otherwise. More... | |
void | set (bm::id_t n, bool val=true) |
unsigned | mem_used () const |
void | swap (bvmini &mset) |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 249 of file bmvmin.h.
References bm::set_word_mask, and bm::set_word_shift.
|
inline |
Definition at line 262 of file bmvmin.h.
References BM_MINISET_ARRSIZE.
|
inline |
Checks if bit pos 1 or 0. Returns 0 if 0 and non zero otherwise.
Definition at line 244 of file bmvmin.h.
References bm::set_word_mask, and bm::set_word_shift.