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.
Declared in <bslma_sequentialpool.h>
void*
allocate(int size);
The address of the allocated memory block.
| Name | Description |
|---|---|
| size | The number of bytes to allocate. |