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

Create a memory pool with the specified growth strategy&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Pool(
    xref:BloombergLP/bsls/Types/size_type.adoc[bsls::Types::size&lowbar;type] blockSize,
    xref:BloombergLP/bsls/BlockGrowth/Strategy.adoc[bsls::BlockGrowth::Strategy] growthStrategy,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *blockSize*
| size in bytes of each allocated memory block
| *growthStrategy*
| strategy controlling growth of internal chunks
| *basicAllocator*
| memory allocator&semi; null uses the default
|===


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