[#BloombergLP-bslma-SequentialPool-expand-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/SequentialPool.adoc[SequentialPool]::expand :relfileprefix: ../../../ :mrdocs: `expand` overloads == Synopses Declared in `<bslma_sequentialpool.h>` Expand the memory block at the specified `address`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bslma/SequentialPool/expand-03.adoc[expand]( void* address, int originalNumBytes); ---- [.small]#xref:BloombergLP/bslma/SequentialPool/expand-03.adoc[_» more..._]# Expand the memory block at the specified `address` up to `maxNumBytes`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bslma/SequentialPool/expand-09.adoc[expand]( void* address, int originalNumBytes, int maxNumBytes); ---- [.small]#xref:BloombergLP/bslma/SequentialPool/expand-09.adoc[_» more..._]# == Return Value The amount of memory available after expansion (in bytes). == Parameters [cols="1,4"] |=== | Name| Description | *address* | The address of the memory block to expand. | *originalNumBytes* | The original allocation size (in bytes). | *maxNumBytes* | The maximum expanded size (in bytes). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#