[#BloombergLP-bslma-InfrequentDeleteBlockList] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::InfrequentDeleteBlockList :relfileprefix: ../../ :mrdocs: 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. == Synopsis Declared in `<bslma_infrequentdeleteblocklist.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class InfrequentDeleteBlockList; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslma/InfrequentDeleteBlockList/2constructor.adoc[`InfrequentDeleteBlockList`] [.small]#[constructor]# | Create a memory manager. Optionally specify a `basicAllocator` used to supply memory. If `basicAllocator` is 0, the currently installed default allocator is used. | xref:BloombergLP/bslma/InfrequentDeleteBlockList/2destructor.adoc[`~InfrequentDeleteBlockList`] [.small]#[destructor]# | Destroy this object and deallocate all memory blocks managed by this object. | xref:BloombergLP/bslma/InfrequentDeleteBlockList/allocate.adoc[`allocate`] | Allocate a memory block of the specified `numBytes` size and return its address. The returned memory is guaranteed to be maximally aligned. The behavior is undefined unless `0 <= numBytes`. | xref:BloombergLP/bslma/InfrequentDeleteBlockList/deallocate.adoc[`deallocate`] | This method has no effect. | xref:BloombergLP/bslma/InfrequentDeleteBlockList/release.adoc[`release`] | Deallocate all memory blocks managed by this object. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#