[#BloombergLP-bdlma-Deleter]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::Deleter
:relfileprefix: ../../
:mrdocs:

Provide a protocol (or pure interface) for a thread&hyphen;safe object deleter&period;

== Synopsis

Declared in `&lt;bdlma&lowbar;deleter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
class Deleter;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlma/Deleter/2destructor.adoc[`&#126;Deleter`] [.small]#[destructor]# [.small]#[virtual]#
| Destroy this object deleter&period;
| xref:BloombergLP/bdlma/Deleter/deleteObject.adoc[`deleteObject`]  [.small]#[virtual]#
| Destroy the specified `instance` and release its memory&period;
|===


== Derived Classes

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlma/DefaultDeleter.adoc[`DefaultDeleter`] 
| Provide a default concrete implementation of the `Deleter` protocol&period;
| xref:BloombergLP/bdlma/Factory.adoc[`Factory`] 
| Provide a protocol for a thread&hyphen;safe object creator and deleter&period;
|===


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