Partial specialization of HasAllocatorType yielding true_type is instantiated for TYPE`s that do have an `allocator_type member that meets the requirements of a C++11 allocator type.

Synopsis

Declared in <bslma_hasallocatortype.h>

template<class TYPE>
struct HasAllocatorType<TYPE, bsl::void_t<TYPE::allocator_type>>
    : bslma::IsStdAllocator<TYPE::allocator_type>::type

Base Classes

Name

Description

bslma::IsStdAllocator<TYPE::allocator_type>::type

Created with MrDocs