[#BloombergLP-bslma-SequentialPool-allocate] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/SequentialPool.adoc[SequentialPool]::allocate :relfileprefix: ../../../ :mrdocs: Return memory of the specified `size`. If `size` is 0, no memory is allocated and 0 is returned. The behavior is undefined unless `0 <= size`. == Synopsis Declared in `<bslma_sequentialpool.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void* allocate(int size); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#