BloombergLP::bdlc::PackedIntArrayImp<PackedIntArrayImp_Unsigned>::PackedIntArrayImp

Constructors

Synopses

Declared in <bdlc_packedintarray.h>

Create an empty PackedIntArrayImp. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

explicit
PackedIntArrayImp(bslma::Allocator* basicAllocator = 0);
» more...

Create a PackedIntArrayImp having the same value as the specified original one. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

PackedIntArrayImp(
    PackedIntArrayImp<PackedIntArrayImp_Unsigned> const& original,
    bslma::Allocator* basicAllocator = 0);
» more...

Create a PackedIntArrayImp having the specified numElements. Optionally specify a value to which each element will be set. If value is not specified, 0 is used. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

explicit
PackedIntArrayImp(
    std::size_t numElements,
    ElementType value = 0,
    bslma::Allocator* basicAllocator = 0);
» more...