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

Name

Description

bsl::true_type

Metafunction representing the boolean constant true.

Created with MrDocs