[#BloombergLP-bslma-ConstructionUtil_AllocAdaptorUtil-05-adapt]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/ConstructionUtil_AllocAdaptorUtil-05.adoc[ConstructionUtil&lowbar;AllocAdaptorUtil&lt;TYPE, true, IS&lowbar;BSLMA&lowbar;AA&gt;]::adapt
:relfileprefix: ../../../
:mrdocs:

Return the specified `a` allocator, implicitly converted to `TYPE&colon;&colon;allocator&lowbar;type`&period; Compilation will fail if implicit conversion to the return type is invalid&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALLOC&gt;
static
TYPE::allocator&lowbar;type
adapt(ALLOC const& a);
----


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