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

This utility class provides a general no&hyphen;op deleter, which is useful when creating managed pointers to stack&hyphen;allocated objects&period; Note that the non&hyphen;template class `ManagedPtrUtil` should be used in preference to this deprecated class, avoiding both template bloat and undefined behavior&period;

== Synopsis

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

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

== Description

DEPRECATED&colon; Use `ManagedPtrUtil&colon;&colon;noOpDeleter` instead&period;

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/ManagedPtrNilDeleter/deleter.adoc[`deleter`] 
| Deleter function that does nothing&period;
|===



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