[#BloombergLP-bslma-SequentialAllocator-expand-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/SequentialAllocator.adoc[SequentialAllocator]::expand :relfileprefix: ../../../ :mrdocs: `expand` overloads == Synopses Declared in `<bslma_sequentialallocator.h>` Expand the memory block at the specified `address`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bslma/SequentialAllocator/expand-0c.adoc[expand]( void* address, int originalNumBytes); ---- [.small]#xref:BloombergLP/bslma/SequentialAllocator/expand-0c.adoc[_» more..._]# Expand the memory block at the specified `address` up to `maxNumBytes`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int xref:BloombergLP/bslma/SequentialAllocator/expand-08.adoc[expand]( void* address, int originalNumBytes, int maxNumBytes); ---- [.small]#xref:BloombergLP/bslma/SequentialAllocator/expand-08.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]#