Component‐private utility for adapting allocator objects (see specializations).

Synopsis

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;

Specializations

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.

Created with MrDocs