[#BloombergLP-bdlc-PackedIntArray-08-allocator] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/PackedIntArray-08.adoc[PackedIntArray<int>]::allocator :relfileprefix: ../../../ :mrdocs: Return the allocator used by this array to supply memory. == Synopsis Declared in `<bdlc_packedintarray.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#