BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bslma::UsesBslmaAllocator_DeprecatedIf< true > Struct Reference

#include <bslma_usesbslmaallocator.h>

Detailed Description

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

Static Public Member Functions

static BSLS_ANNOTATION_DEPRECATED char check (const char *message)
 

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
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: