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.
Synopsis
Declared in <bslma_isstdallocator.h>
template<class TYPE>
struct IsStdAllocator
: /* implementation-defined */::type
Base Classes
Name |
Description |
|
Specializations
Name |
Description |
|
|
|
|
A |
|
Specialization for |
|
Declare |
|
Specialization for lvalue reference types. |
|
Specialization for rvalue reference types. |
Created with MrDocs