Return the address of a contiguous block of memory of the specified size (in bytes) on success, according to the alignment strategy specified at construction. If size is 0 or the allocation request exceeds the remaining free memory space in the external buffer, no memory is allocated and 0 is returned.

Synopsis

Declared in <bdlma_buffermanager.h>

void*
allocate(bsls::Types::size_type size);

Created with MrDocs