Component-private utility for adapting allocator objects (see specializations).
Declared in <bslma_constructionutil.h>
template<
class TYPE,
bool HAS_ALLOC_TYPE = HasAllocatorType<TYPE>::value,
bool IS_BSLMA_AA = UsesBslmaAllocator<TYPE>::value>
struct ConstructionUtil_AllocAdaptorUtil;
| Name | Description |
|---|---|
ConstructionUtil_AllocAdaptorUtil<TYPE, false, false> | Allocator adaptor for a non-allocator-aware TYPE (defines no adapt). |
ConstructionUtil_AllocAdaptorUtil<TYPE, false, true> | Allocator adaptor for types that expect bslma::Allocator *. |
ConstructionUtil_AllocAdaptorUtil<TYPE, true, IS_BSLMA_AA> | Allocator adaptor for types that expect TYPE::allocator_type. |