[#BloombergLP-bdlc-PackedIntArrayImp-02-2constructor-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArrayImp-02.adoc[PackedIntArrayImp<PackedIntArrayImp_Unsigned>]::PackedIntArrayImp :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<bdlc_packedintarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit PackedIntArrayImp( std::size_t numElements, xref:BloombergLP/bdlc/PackedIntArrayImp-02/ElementType.adoc[ElementType] value = 0, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#