[#BloombergLP-bslma-SharedPtrOutofplaceRep_DeleterDiscriminator]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::SharedPtrOutofplaceRep&lowbar;DeleterDiscriminator
:relfileprefix: ../../
:mrdocs:

Metafunction that classifies a deleter&apos;s kind and C&plus;&plus; type&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class DELETER&gt;
class SharedPtrOutofplaceRep&lowbar;DeleterDiscriminator;
----

== Description

This `class` provides two meta&hyphen;functions for determining the enumerated type and the C&plus;&plus; type of a deleter based on whether it is a pointer to a function, a pointer to a factory deleter, or an instance of a function&hyphen;like deleter&period;

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/SharedPtrOutofplaceRep_DeleterDiscriminator/Type.adoc[`Type`] 
| `Type` represents the type of the deleter used to destroy the shared object&period;
|===


== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/SharedPtrOutofplaceRep_DeleterDiscriminator/_04enum.adoc[`Unnamed enum`] 
| Metafunction result indicating the deleter discriminator value&period;
|===



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