Create a memory pool with the specified growth strategy.
Synopsis
Declared in <bdlma_pool.h>
Pool(
bsls::Types::size_type blockSize,
bsls::BlockGrowth::Strategy growthStrategy,
bslma::Allocator* basicAllocator = 0);
Parameters
Name |
Description |
blockSize |
size in bytes of each allocated memory block |
growthStrategy |
strategy controlling growth of internal chunks |
basicAllocator |
memory allocator; null uses the default |
Created with MrDocs