BloombergLP::bdlma::HeapBypassAllocator::HeapBypassAllocator

Create an empty allocator with the specified minimum replenishment size.

Synopsis

Declared in <bdlma_heapbypassallocator.h>

explicit
HeapBypassAllocator(size_type replenishHint);

Description

Create an empty allocator object with the specified replenishHint as the minimum number of bytes to allocate when memory needs to grow.

Parameters

NameDescription
replenishHintminimum number of bytes to allocate at a time when the allocator's memory needs to grow