[#BloombergLP-bslma-SequentialPool-expand-03]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/SequentialPool.adoc[SequentialPool]::expand
:relfileprefix: ../../../
:mrdocs:

Increase the amount of memory allocated at the specified `address` from the specified `originalNumBytes` to the maximum amount easily obtainable&period; Return the amount of memory available at `address` after the expansion&period; The behavior is undefined unless the call to this allocator that provided the `address` was performed with the `originalNumBytes`&period; Note that this function will not expand the memory unless there have been no allocations since the allocation for `originalNumBytes`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
expand(
    void* address,
    int originalNumBytes);
----


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