[#BloombergLP-bdlma-Pool-2constructor-01] = 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 and maximum chunk size. == Synopsis Declared in `<bdlma_pool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Pool( xref:BloombergLP/bsls/Types/size_type.adoc[bsls::Types::size_type] blockSize, xref:BloombergLP/bsls/BlockGrowth/Strategy.adoc[bsls::BlockGrowth::Strategy] growthStrategy, int maxBlocksPerChunk, 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 | *maxBlocksPerChunk* | maximum number of blocks per allocated chunk | *basicAllocator* | memory allocator; null uses the default |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#