[#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 `&lt;bdlma&lowbar;heapbypassallocator&period;h&gt;`

Create an empty allocator object&period; Optionally specify `replenishHint` as the minimum number of bytes to allocate at a time when the allocator&apos;s memory needs to grow&period; In a multi&hyphen;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&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlma/HeapBypassAllocator/2constructor-0e.adoc[HeapBypassAllocator]();
----

[.small]#xref:BloombergLP/bdlma/HeapBypassAllocator/2constructor-0e.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlma/HeapBypassAllocator/2constructor-0a.adoc[HeapBypassAllocator](xref:BloombergLP/bslma/Allocator/size_type.adoc[size&lowbar;type] replenishHint);
----

[.small]#xref:BloombergLP/bdlma/HeapBypassAllocator/2constructor-0a.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
