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

Release the shared reference to an object held by the `SharedPtrRep` object that is pointed to be by specified `rep`&period; The behavior is undefined unless `rep` points to an object whose complete type publicly and unambiguously derives from `SharedPtrRep`&period; Note that the first argument is ignored&period; Also note that this function serves as the `ManagedPtr` deleter when converting a `bsl&colon;&colon;shared&lowbar;ptr` to a `bslma&colon;&colon;ManagedPtr`&period;

== Synopsis

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

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


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