BDE 4.14.0 Production release
|
#include <bslma_usesbslmaallocator.h>
Public Types | |
enum | { value = UsesBslmaAllocator_Sniff<TYPE, k_BYPASS_SNIFFING>::value } |
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
.