C Container Collection (CCC)
Loading...
Searching...
No Matches
CCC_Flat_bitset Struct Reference

#include <private_flat_bitset.h>

Detailed Description

A Flat_bitset is a contiguous array of fixed size integers. These aid in cache friendly storage and operations.

By default a bit set is initialized with size equal to capacity but the user may select to initialize a 0 sized bit set with non-zero capacity for pushing bits back dynamically.

Data Fields

unsigned * blocks
 
size_t count
 
size_t capacity
 

Field Documentation

◆ blocks

unsigned* CCC_Flat_bitset::blocks

The array of bit blocks, a platform defined standard bit width.

◆ capacity

size_t CCC_Flat_bitset::capacity

The number of bits capable of being tracked in the bit block array.

◆ count

size_t CCC_Flat_bitset::count

The number of active bits in the set available for reads and writes.


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