Create a bit array of the specified initial length.
Declared in <bdlc_bitarray.h>
explicit
BitArray(
std::size_t initialLength,
bslma::Allocator* basicAllocator = 0);
Create an array of binary digits having the specified initialLength and using the optionally specified basicAllocator to supply memory. Each bit is initialized to false (0).
| Name | Description |
|---|---|
| initialLength | initial number of bits in the array |
| basicAllocator | memory allocator; null uses the default |