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

#include <bslma_usesbslmaallocator.h>

Static Public Member Functions

static char check (const char *message)
 

Detailed Description

template<bool>
struct bslma::UsesBslmaAllocator_DeprecatedIf< bool >

For compilers that support a deprecation annotation, this empty struct has a static check function that yields a deprecation warning when called (including within an unevaluated context) if this class is instantiated with a true argument, but not if instantiated with a false argument.

Member Function Documentation

◆ check()

template<bool >
static char bslma::UsesBslmaAllocator_DeprecatedIf< bool >::check ( const char *  message)
static

Ignore the specified message and return a char. Declared but not defined; for metaprogramming only.


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