BloombergLP::bdlc::BitArray::BitArray

Create a bit array having the same value as original.

Synopsis

Declared in <bdlc_bitarray.h>

BitArray(
    BitArray const& original,
    bslma::Allocator* basicAllocator = 0);

Description

Create an array of binary digits (bits) having the same value as the specified original array. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
originalarray providing the value to copy
basicAllocatormemory allocator; null uses the default