[#BloombergLP-bslma-ConstructionUtil_IsAllocatorPtr-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::ConstructionUtil_IsAllocatorPtr :relfileprefix: ../../ :mrdocs: Metafunction that inherits from `true_type` if the `ALLOC` type is a pointer to `bslma::Allocator` or a class derived from it and `false_type` otherwise. == Synopsis Declared in `<bslma_constructionutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ALLOC> struct ConstructionUtil_IsAllocatorPtr : xref:bsl/false_type.adoc[bsl::false_type] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:bsl/false_type.adoc[bsl::false_type]` | Metafunction representing the boolean constant `false`. |=== == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslma/ConstructionUtil_IsAllocatorPtr-0f.adoc[`ConstructionUtil_IsAllocatorPtr<ALLOC*>`] | This partial specialization is for pointer type `ALLOC *` and evaulates true if and only if `ALLOC` is derived from `bslma::Allocator`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#