[#BloombergLP-bslma-ManagedPtr_DefaultDeleter-deleter]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/ManagedPtr_DefaultDeleter.adoc[ManagedPtr&lowbar;DefaultDeleter]::deleter
:relfileprefix: ../../../
:mrdocs:

Cast the specified `ptr` to (template parameter) type `MANAGED&lowbar;TYPE &ast;`, and then call `delete` with the cast pointer&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
deleter(
    void* ptr,
    void*);
----


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