BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslma::IsStdAllocator< TYPE > Struct Template Reference

#include <bslma_isstdallocator.h>

Inheritance diagram for bslma::IsStdAllocator< TYPE >:

Detailed Description

template<class TYPE>
struct bslma::IsStdAllocator< TYPE >

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.


The documentation for this struct was generated from the following file: