BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslma_usesbslmaallocator.h File Reference

Go to the source code of this file.

Classes

struct  bslma::UsesBslmaAllocator< TYPE >
 
struct  bslma::UsesBslmaAllocator< TYPE * >
 
struct  bslma::UsesBslmaAllocator< TYPE & >
 
struct  bslma::UsesBslmaAllocator< const TYPE >
 
struct  bslma::UsesBslmaAllocator< volatile TYPE >
 
struct  bslma::UsesBslmaAllocator< const volatile TYPE >
 
struct  bslma::UsesBslmaAllocator_DeprecatedIf< bool >
 
struct  bslma::UsesBslmaAllocator_DeprecatedIf< true >
 
struct  bslma::SuppressesImplicitConvertibilityWarnings< t_TYPE >
 
struct  bslma::UsesBslmaAllocator_Sniff< TYPE, BYPASS >
 
struct  bslma::UsesBslmaAllocator_Sniff< TYPE, true >
 
struct  bslma::UsesBslmaAllocator_Imp< TYPE >
 

Macros

#define BSLMA_USESBSLMAALLOCATOR_CAT(X, Y)    BSLMA_USESBSLMAALLOCATOR_CAT_IMP1(X, Y)
 
#define BSLMA_USESBSLMAALLOCATOR_CAT_IMP1(X, Y)    BSLMA_USESBSLMAALLOCATOR_CAT_IMP2(X, Y)
 
#define BSLMA_USESBSLMAALLOCATOR_CAT_IMP2(X, Y)   X##Y
 Component-local macros for concatenating tokens.
 
#define BSLMA_USESBSLMAALLOCATOR_DEPRECATE_IF(COND, MSG)
 

Detailed Description

The content of this file has been pre-processed for Doxygen.

Macro Definition Documentation

◆ BSLMA_USESBSLMAALLOCATOR_CAT

#define BSLMA_USESBSLMAALLOCATOR_CAT (   X,
 
)     BSLMA_USESBSLMAALLOCATOR_CAT_IMP1(X, Y)

◆ BSLMA_USESBSLMAALLOCATOR_CAT_IMP1

#define BSLMA_USESBSLMAALLOCATOR_CAT_IMP1 (   X,
 
)     BSLMA_USESBSLMAALLOCATOR_CAT_IMP2(X, Y)

◆ BSLMA_USESBSLMAALLOCATOR_CAT_IMP2

#define BSLMA_USESBSLMAALLOCATOR_CAT_IMP2 (   X,
 
)    X##Y

◆ BSLMA_USESBSLMAALLOCATOR_DEPRECATE_IF

#define BSLMA_USESBSLMAALLOCATOR_DEPRECATE_IF (   COND,
  MSG 
)
Value:
enum { \
BSLMA_USESBSLMAALLOCATOR_CAT(e_bslma_UsesBslmaAllocator_DeprecateIf_, \
__LINE__) \
= sizeof(UsesBslmaAllocator_DeprecatedIf<!!(COND)>::check(MSG)) }

On platforms that support a deprecation attribute, produce a deprecation warning if the specified COND is true, otherwise do nothing. The specified MSG is ignored, but must be a string literal and should describe why the condition (if true) is undesirable.