BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslma::UsesBslmaAllocator_DeprecatedIf< true > Struct Reference

#include <bslma_usesbslmaallocator.h>

Static Public Member Functions

static BSLS_ANNOTATION_DEPRECATED char check (const char *message)
 

Detailed Description

Using this specialization of UsesBslmaAllocator_DeprecatedIf yields a deprecation warning on compilers that support a deprecation annotation.

Member Function Documentation

◆ check()

static BSLS_ANNOTATION_DEPRECATED char bslma::UsesBslmaAllocator_DeprecatedIf< true >::check ( const char *  message)
static

Ignore the specified message and return a char. Declared but not defined; for metaprogramming only. Note that, on platforms that support a deprecation attribute, use of this function, even in an unevaluated context, will yield a deprecation warning.


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