Quick Links:

bal | bbl | bdl | bsl

bsl::uses_allocator< t_TYPE, t_ALLOCATOR_TYPE > Struct Template Reference

#include <bslmf_usesallocator.h>


Detailed Description

template<class t_TYPE, class t_ALLOCATOR_TYPE>
struct bsl::uses_allocator< t_TYPE, t_ALLOCATOR_TYPE >

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].

See Component bslmf_usesallocator


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