[#BloombergLP-bslma-HasAllocatorType-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/HasAllocatorType-00.adoc[HasAllocatorType]<TYPE, xref:bsl/void_t.adoc[bsl::void_t<TYPE::allocator_type>]> :relfileprefix: ../../ :mrdocs: Partial specialization of `HasAllocatorType` yielding `true_type` is instantiated for `TYPE`s that _do_ have an `allocator_type` member that meets the requirements of a C++11 allocator type. == Synopsis Declared in `<bslma_hasallocatortype.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> struct xref:BloombergLP/bslma/HasAllocatorType-00.adoc[HasAllocatorType]<TYPE, xref:bsl/void_t.adoc[bsl::void_t<TYPE::allocator_type>]> : bslma::IsStdAllocator<TYPE::allocator_type>::type ---- == Base Classes [cols="1,4"] |=== | Name| Description | `bslma::IsStdAllocator<TYPE::allocator_type>::type` | |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#