[#BloombergLP-bslma-ConstructionUtil_IsAllocatorPtr-06]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::ConstructionUtil&lowbar;IsAllocatorPtr
:relfileprefix: ../../
:mrdocs:

Metafunction that inherits from `true&lowbar;type` if the `ALLOC` type is a pointer to `bslma&colon;&colon;Allocator` or a class derived from it and `false&lowbar;type` otherwise&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALLOC&gt;
struct ConstructionUtil&lowbar;IsAllocatorPtr
    : xref:bsl/false_type.adoc[bsl::false&lowbar;type]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:bsl/false_type.adoc[bsl::false&lowbar;type]`
| Metafunction representing the boolean constant `false`&period;
|===

== Specializations

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/ConstructionUtil_IsAllocatorPtr-0f.adoc[`ConstructionUtil&lowbar;IsAllocatorPtr&lt;ALLOC*&gt;`] 
| This partial specialization is for pointer type `ALLOC &ast;` and evaulates true if and only if `ALLOC` is derived from `bslma&colon;&colon;Allocator`&period;
|===



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