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.
Declared in <bslma_constructionutil.h>
template<class ALLOC>
struct ConstructionUtil_IsAllocatorPtr
: bsl::false_type
| Name | Description |
|---|---|
bsl::false_type | Metafunction representing the boolean constant false. |
| Name | Description |
|---|---|
ConstructionUtil_IsAllocatorPtr<ALLOC*> | This partial specialization is for pointer type ALLOC * and evaulates true if and only if ALLOC is derived from bslma::Allocator. |