[#BloombergLP-bslma-InfrequentDeleteBlockList]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::InfrequentDeleteBlockList
:relfileprefix: ../../
:mrdocs:

Memory manager that allocates and manages a sequence of memory blocks&period;

== Synopsis

Declared in `&lt;bslma&lowbar;infrequentdeleteblocklist&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
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&apos;s invocation&period; This object&apos;s `release` method deallocates the entire sequence of memory blocks, as does its destructor&period; Note that memory blocks can not be deallocated individually&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/InfrequentDeleteBlockList/2constructor.adoc[`InfrequentDeleteBlockList`]         [.small]#[constructor]#
| Create a memory manager&period;
| xref:BloombergLP/bslma/InfrequentDeleteBlockList/2destructor.adoc[`&#126;InfrequentDeleteBlockList`] [.small]#[destructor]#
| Destroy this object and deallocate all memory blocks managed by this object&period;
| xref:BloombergLP/bslma/InfrequentDeleteBlockList/allocate.adoc[`allocate`] 
| Allocate a memory block of the specified size and return its address&period;
| xref:BloombergLP/bslma/InfrequentDeleteBlockList/deallocate.adoc[`deallocate`] 
| This method has no effect&period;
| xref:BloombergLP/bslma/InfrequentDeleteBlockList/release.adoc[`release`] 
| Deallocate all memory blocks managed by this object&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
