File vector_bit.hpp¶
-
class BitVector : public ClearableViewDecorator<IndexableBitVectorDecorator<BitVectorDecorator<AllocatedBitVector>>>¶
- #include <vector_bit.hpp>
A vector that provides random read and write access to binary values stored in a newly allocated array in a space-efficient way.
- Template Parameters:
T – The type of the values stored in the vector
Subclassed by IndexableBitVectorDecorator< BitVector >
Public Functions
-
inline BitVector(uint32 numBits, bool init = false)¶
- Parameters:
numBits – The number of bits in the vector
init – True, if all elements in the vector should be value-initialized, false otherwise
-
inline BitVector(AllocatedBitVector &&other)¶
- Parameters:
other – A reference to an object of type
AllocatedBitVectorthat should be moved