BloombergLP::bslma::InfrequentDeleteBlockList

Memory manager that allocates and manages a sequence of memory blocks.

Synopsis

Declared in <bslma_infrequentdeleteblocklist.h>

class InfrequentDeleteBlockList;

Description

This class implements a memory manager that allocates and manages a sequence of memory blocks, each potentially of a different size as specified in the allocate method's invocation. This object's release method deallocates the entire sequence of memory blocks, as does its destructor. Note that memory blocks can not be deallocated individually.

Member Functions

NameDescription
InfrequentDeleteBlockList [constructor]Create a memory manager.
~InfrequentDeleteBlockList [destructor]Destroy this object and deallocate all memory blocks managed by this object.
allocate Allocate a memory block of the specified size and return its address.
deallocate This method has no effect.
release Deallocate all memory blocks managed by this object.