[#BloombergLP-bslma-SequentialAllocator-reserveCapacity]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/SequentialAllocator.adoc[SequentialAllocator]::reserveCapacity
:relfileprefix: ../../../
:mrdocs:

Reserve sufficient memory to satisfy allocation requests for at least the specified `numBytes` without replenishment (i&period;e&period;, without internal allocation)&period; The behavior is undefined unless `0 &lt;&equals; numBytes`&period;

== Synopsis

Declared in `&lt;bslma&lowbar;sequentialallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
reserveCapacity(int numBytes);
----


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