|
BDE 4.39.x Production Release
|
#include <bslma_usesbslmaallocator.h>
Implementation of UsesBslmaAllocator. This class has a constant, value, that is true if ANY of the following is true:
TYPE has a 'BSLMF_NESTED_TRAIT_DECLARATION(TYPE,
bslma::UsesBslmaAllocator);' declaration.TYPE has a nested allocator_type and bslma::Allocator * is implicitly convertible to TYPE::allocator_type.bslma::Allocator * is implicitly convertible to TYPE but other, arbitrary pointers are NOT implicitly convertible to TYPE.Otherwise, value is false.
Public Types | |
| enum | { value = UsesBslmaAllocator_Sniff<TYPE, k_BYPASS_SNIFFING>::value } |