[#BloombergLP-bslma-ConstructionUtil_AllocAdaptorUtil-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::ConstructionUtil_AllocAdaptorUtil :relfileprefix: ../../ :mrdocs: Component‐private utility for adapting allocator objects (see specializations). == Synopsis Declared in `<bslma_constructionutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, bool HAS_ALLOC_TYPE = HasAllocatorType<TYPE>::value, bool IS_BSLMA_AA = UsesBslmaAllocator<TYPE>::value> struct ConstructionUtil_AllocAdaptorUtil; ---- == Specializations [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslma/ConstructionUtil_AllocAdaptorUtil-0a.adoc[`ConstructionUtil_AllocAdaptorUtil<TYPE, false, false>`] | Allocator adaptor for a non‐allocator‐aware `TYPE` (defines no `adapt`). | xref:BloombergLP/bslma/ConstructionUtil_AllocAdaptorUtil-0b.adoc[`ConstructionUtil_AllocAdaptorUtil<TYPE, false, true>`] | Allocator adaptor for types that expect `bslma::Allocator *`. | xref:BloombergLP/bslma/ConstructionUtil_AllocAdaptorUtil-05.adoc[`ConstructionUtil_AllocAdaptorUtil<TYPE, true, IS_BSLMA_AA>`] | Allocator adaptor for types that expect `TYPE::allocator_type`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#