[#BloombergLP-bslma-ConstructionUtil_AllocAdaptorUtil-05-adapt] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/ConstructionUtil_AllocAdaptorUtil-05.adoc[ConstructionUtil_AllocAdaptorUtil<TYPE, true, IS_BSLMA_AA>]::adapt :relfileprefix: ../../../ :mrdocs: Return the specified `a` allocator, implicitly converted to `TYPE::allocator_type`. Compilation will fail if implicit conversion to the return type is invalid. == Synopsis Declared in `<bslma_constructionutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ALLOC> static TYPE::allocator_type adapt(ALLOC const& a); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#