|
rlib
Convenience library for useful things
|
Fixed-width bitset. More...
#include <rlib/data/rbitset.h>
Data Fields | |
| rsize | bits |
| rsize | words |
| rbsword | data [0] |
Fixed-width bitset.
data is a flexible array of rbsword backing the bits. Construct via r_bitset_init_stack or r_bitset_init_heap; never resize after construction.
| rsize RBitset::bits |
Bit-capacity.
| rbsword RBitset::data[0] |
Flexible-array storage.
| rsize RBitset::words |
rbsword count rounded up from bits.