Create a bit array of the specified length and bit value.
Synopsis
Declared in <bdlc_bitarray.h>
BitArray(
std::size_t initialLength,
bool value,
bslma::Allocator* basicAllocator = 0);
Description
Create an array of binary digits having the specified initialLength and value, using the optionally specified basicAllocator to supply memory.
Parameters
Name |
Description |
initialLength |
initial number of bits in the array |
value |
initial value for each bit |
basicAllocator |
memory allocator; null uses the default |
Created with MrDocs