[#BloombergLP-bslma-InfrequentDeleteBlockList-allocate] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/InfrequentDeleteBlockList.adoc[InfrequentDeleteBlockList]::allocate :relfileprefix: ../../../ :mrdocs: Allocate a memory block of the specified `numBytes` size and return its address. The returned memory is guaranteed to be maximally aligned. The behavior is undefined unless `0 <= numBytes`. == Synopsis Declared in `<bslma_infrequentdeleteblocklist.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void* allocate(int numBytes); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#