Create a memory pool with the specified growth strategy.
Declared in <bdlma_pool.h>
Pool(
bsls::Types::size_type blockSize,
bsls::BlockGrowth::Strategy growthStrategy,
bslma::Allocator* basicAllocator = 0);
| 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 |