[#BloombergLP-bslma-ConstructionUtil_AllocAdaptorUtil-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/ConstructionUtil_AllocAdaptorUtil-06.adoc[ConstructionUtil&lowbar;AllocAdaptorUtil]&lt;TYPE, false, true&gt;
:relfileprefix: ../../
:mrdocs:

Allocator adaptor for types that expect `bslma&colon;&colon;Allocator &ast;`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
struct xref:BloombergLP/bslma/ConstructionUtil_AllocAdaptorUtil-06.adoc[ConstructionUtil&lowbar;AllocAdaptorUtil]&lt;TYPE, false, true&gt;;
----

== Description

This utility class template provides a static `adapt` method that adapts an allocator object to the type expected by `TYPE`&period; This partial specialization is instantiated for types that expect an allocator of type `bslma&colon;&colon;Allocator &ast;`&period;

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/ConstructionUtil_AllocAdaptorUtil-0b/adapt-01.adoc[`adapt`] 
| `adapt` overloads
|===



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