rlib
Convenience library for useful things
Loading...
Searching...
No Matches
RBitset Struct Reference

Fixed-width bitset. More...

#include <rlib/data/rbitset.h>

Data Fields

rsize bits
 
rsize words
 
rbsword data [0]
 

Detailed Description

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.

Field Documentation

◆ bits

rsize RBitset::bits

Bit-capacity.

◆ data

rbsword RBitset::data[0]

Flexible-array storage.

◆ words

rsize RBitset::words

rbsword count rounded up from bits.


The documentation for this struct was generated from the following file: