[#BloombergLP-bslstl-SimplePool-2constructor-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SimplePool.adoc[SimplePool]::SimplePool
:relfileprefix: ../../../
:mrdocs:

Create a memory pool that uses the specified `allocator`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;simplepool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
SimplePool(ALLOCATOR const& allocator);
----

== Description

Create a memory pool that returns blocks of contiguous memory of the size of the parameterized `VALUE` using the specified `allocator` to supply memory&period; The chunk size grows starting with at least `sizeof(VALUE)`, doubling in size up to an implementation defined maximum number of blocks per chunk&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *allocator*
| allocator used to supply memory for this pool
|===


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