8#ifndef INCLUDED_BSLMA_USESBSLMAALLOCATOR
9#define INCLUDED_BSLMA_USESBSLMAALLOCATOR
311#include <bslscm_version.h>
328struct UsesBslmaAllocator_Imp;
361#ifdef BSLS_COMPILERFEATURES_SUPPORT_RVALUE_REFERENCES
411 static char check(
const char *message);
428#define BSLMA_USESBSLMAALLOCATOR_CAT(X, Y) \
429 BSLMA_USESBSLMAALLOCATOR_CAT_IMP1(X, Y)
430#define BSLMA_USESBSLMAALLOCATOR_CAT_IMP1(X, Y) \
431 BSLMA_USESBSLMAALLOCATOR_CAT_IMP2(X, Y)
433#define BSLMA_USESBSLMAALLOCATOR_CAT_IMP2(X, Y) X##Y
439#define BSLMA_USESBSLMAALLOCATOR_DEPRECATE_IF(COND, MSG) enum { \
440 BSLMA_USESBSLMAALLOCATOR_CAT(e_bslma_UsesBslmaAllocator_DeprecateIf_, \
442 = sizeof(UsesBslmaAllocator_DeprecatedIf<!!(COND)>::check(MSG)) }
456template <
class t_TYPE>
474template <
class TYPE,
bool BYPASS>
498 k_SUPPRESS_DEPRECATION_WARNINGS =
505 k_VALUE = k_BSLMA_POINTER_CTOR && !k_ANY_POINTER_CTOR,
509 k_VALUE && !k_SUPPRESS_DEPRECATION_WARNINGS,
510 "Declaring an allocator-aware type by supplying an implicit "
511 "conversion constructor from 'Allocator*' is deprecated.");
557 k_BYPASS_SNIFFING = k_NESTED_TRAIT || k_COMPATIBLE_ALLOC_TYPE
#define BSLMA_USESBSLMAALLOCATOR_DEPRECATE_IF(COND, MSG)
Definition bslma_usesbslmaallocator.h:439
#define BSLS_ANNOTATION_DEPRECATED
Definition bsls_annotation.h:324
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition balxml_encoderoptions.h:68
Definition bslmf_integralconstant.h:244
Definition bslmf_isconvertible.h:867
Definition bslmf_usesallocator.h:165
Definition bslma_usesbslmaallocator.h:458
static BSLS_ANNOTATION_DEPRECATED char check(const char *message)
Definition bslma_usesbslmaallocator.h:405
static char check(const char *message)
Definition bslma_usesbslmaallocator.h:543
@ value
Definition bslma_usesbslmaallocator.h:562
Definition bslma_usesbslmaallocator.h:475
@ value
Definition bslma_usesbslmaallocator.h:515
Definition bslma_usesbslmaallocator.h:343
Definition bslmf_detectnestedtrait.h:464