This struct template implements a meta‐function to determine whether a (template parameter) t_TYPE uses a given (template parameter) t_ALLOCATOR_TYPE. This struct derives from bsl::true_type if t_TYPE uses t_ALLOCATOR_TYPE and from bsl::false_type otherwise. This meta‐function has the same syntax as the uses_allocator meta‐function defined in the C++11 standard [allocator.uses.trait].
Synopsis
Declared in <bslmf_usesallocator.h>
template<
class t_TYPE,
class t_ALLOCATOR_TYPE>
struct uses_allocator
: /* implementation-defined */::type
Base Classes
Name |
Description |
|
Created with MrDocs