[#BloombergLP-bdlma-HeapBypassAllocator-2constructor-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/HeapBypassAllocator.adoc[HeapBypassAllocator]::HeapBypassAllocator :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bdlma_heapbypassallocator.h>` Create an empty allocator object. Optionally specify `replenishHint` as the minimum number of bytes to allocate at a time when the allocator's memory needs to grow. In a multi‐threaded scenario, the programmer should ensure that `replenishHint` is large enough so that multiple threads will rarely need to replenish at the same time in order to minimize contention. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlma/HeapBypassAllocator/2constructor-0e.adoc[HeapBypassAllocator](); ---- [.small]#xref:BloombergLP/bdlma/HeapBypassAllocator/2constructor-0e.adoc[_» more..._]# Create an empty allocator object with the specified `replenishHint` as the minimum number of bytes to allocate when memory needs to grow. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bdlma/HeapBypassAllocator/2constructor-0a.adoc[HeapBypassAllocator](xref:BloombergLP/bslma/Allocator/size_type.adoc[size_type] replenishHint); ---- [.small]#xref:BloombergLP/bdlma/HeapBypassAllocator/2constructor-0a.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#