BloombergLP::bslma::SequentialPool::allocate

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>

void*
allocate(int size);

Return Value

The address of the allocated memory block.

Parameters

NameDescription
sizeThe number of bytes to allocate.