bsl::IsStdAllocator

Alias for bslma::IsStdAllocator in the bsl namespace.

Synopsis

Declared in <bslma_isstdallocator.h>

using BloombergLP::bslma::IsStdAllocator;

Introduced Symbols

NameDescription
IsStdAllocator Metafunction to determine whether the specified template parameter TYPE meets the minimum requirements for a C++11 allocator. Specifically, this struct is derived from true_type if TYPE has a nested value_type and supports the operation a.allocate(bytes), where a has type TYPE and bytes has type allocator_traits<TYPE>::size_type; otherwise it is derived from false_type.