Constructors
Declared in <bdlc_packedintarray.h>
Create an empty PackedIntArrayImp.
explicit
PackedIntArrayImp(bslma::Allocator* basicAllocator = 0);
» more...
Create a PackedIntArrayImp with the value of original.
PackedIntArrayImp(
PackedIntArrayImp const& original,
bslma::Allocator* basicAllocator = 0);
» more...
Create a PackedIntArrayImp of the specified length.
explicit
PackedIntArrayImp(
std::size_t numElements,
ElementType value = 0,
bslma::Allocator* basicAllocator = 0);
» more...
| Name | Description |
|---|---|
| basicAllocator | allocator used to supply memory |
| original | array to copy |
| numElements | number of elements in the new array |
| value | initial value for each element |