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

Synopsis

Declared in <bslma_usesbslmaallocator.h>

template<>
struct UsesBslmaAllocator_DeprecatedIf<true>;

Static Member Functions

Name

Description

check [deprecated]

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.

Created with MrDocs