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
Name |
Description |
|
Create a memory manager. |
|
Destroy this object and deallocate all memory blocks managed by this object. |
Allocate a memory block of the specified size and return its address. |
|
This method has no effect. |
|
Deallocate all memory blocks managed by this object. |
Created with MrDocs