[#BloombergLP-bdlma-ConcurrentPool-allocator]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/ConcurrentPool.adoc[ConcurrentPool]::allocator
:relfileprefix: ../../../
:mrdocs:

Return the allocator used by this object to allocate memory&period; Note that this allocator can not be used to deallocate memory allocated through this pool&period;

== Synopsis

Declared in `&lt;bdlma&lowbar;concurrentpool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]*
allocator() const;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
