[#BloombergLP-bdlc-PackedIntArray-08-2constructor-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArray-08.adoc[PackedIntArray<int>]::PackedIntArray :relfileprefix: ../../../ :mrdocs: Create a `PackedIntArray` 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 PackedIntArray( std::size_t numElements, int value = 0, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#