BloombergLP::bslma::IsStdAllocator<bsl::allocator<TYPE>>

A bsl::allocator inherits its allocate method from a base class, which causes IsStdAllocator to fail the auto-detected it.

Synopsis

Declared in <bslma_bslallocator.h>

template<class TYPE>
struct IsStdAllocator<bsl::allocator<TYPE>>
    : bsl::true_type

Base Classes

NameDescription
bsl::true_typeMetafunction representing the boolean constant true.