Constructors
Synopses
Declared in <bdlc_packedintarray.h>
Create an empty PackedIntArrayImp.
explicit
PackedIntArrayImp(bslma::Allocator* basicAllocator = 0);
Create a PackedIntArrayImp with the value of original.
PackedIntArrayImp(
PackedIntArrayImp const& original,
bslma::Allocator* basicAllocator = 0);
Create a PackedIntArrayImp of the specified length.
explicit
PackedIntArrayImp(
std::size_t numElements,
ElementType value = 0,
bslma::Allocator* basicAllocator = 0);
Parameters
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 |
Created with MrDocs