[#BloombergLP-bslstl-SimplePool-reserve]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SimplePool.adoc[SimplePool]::reserve
:relfileprefix: ../../../
:mrdocs:

Dynamically allocate a new chunk containing the specified `numBlocks` number of blocks, and add the chunk to the free memory list of this pool&period; The additional memory is added irrespective of the amount of free memory when called&period; The behavior is undefined unless `0 &lt; numBlocks`&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;simplepool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
reserve(xref:BloombergLP/bslstl/SimplePool/size_type.adoc[size&lowbar;type] numBlocks);
----


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