Create a bit array of the specified initial length.
Synopsis
Declared in <bdlc_bitarray.h>
explicit
BitArray(
std::size_t initialLength,
bslma::Allocator* basicAllocator = 0);
Description
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).
Parameters
Name |
Description |
initialLength |
initial number of bits in the array |
basicAllocator |
memory allocator; null uses the default |
Created with MrDocs