#My libraries (moved)
1 messages · Page 1 of 1 (latest)
It's heap allocated, yet has a static size
A bitset that isn't arbitrary length, even at compilation time is basically pointless
heres an actual™️ bitset https://github.com/apache-hb/engine/blob/main/common/include/engine/memory/bitmap.h
technically a bitmap but could be used as a bitset with a single extra function
obviously in C++ you should use std::vector<bool> anyway
or std::bitset
Well that's fixed size but yes