[#BloombergLP-bslma-HasAllocatorType-0f]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/HasAllocatorType-00.adoc[HasAllocatorType]&lt;TYPE, xref:bsl/void_t.adoc[bsl::void&lowbar;t&lt;TYPE::allocator&lowbar;type&gt;]&gt;
:relfileprefix: ../../
:mrdocs:

Partial specialization of `HasAllocatorType` yielding `true&lowbar;type` is instantiated for `TYPE`s that _do_ have an `allocator&lowbar;type` member that meets the requirements of a C&plus;&plus;11 allocator type&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
struct xref:BloombergLP/bslma/HasAllocatorType-00.adoc[HasAllocatorType]&lt;TYPE, xref:bsl/void_t.adoc[bsl::void&lowbar;t&lt;TYPE::allocator&lowbar;type&gt;]&gt;
    : bslma::IsStdAllocator&lt;TYPE::allocator&lowbar;type&gt;::type
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `bslma::IsStdAllocator&lt;TYPE::allocator&lowbar;type&gt;::type`
| 
|===


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