[#BloombergLP-bdlc-BitArray-2constructor-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/BitArray.adoc[BitArray]::BitArray :relfileprefix: ../../../ :mrdocs: Create an array of binary digits having the specified `initialLength` and using the optionally specified `basicAllocator` to supply memory. == Synopsis Declared in `<bdlc_bitarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit BitArray( std::size_t initialLength, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#