[#BloombergLP-bslma-UsesBslmaAllocator_DeprecatedIf-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/UsesBslmaAllocator_DeprecatedIf-0f.adoc[UsesBslmaAllocator&lowbar;DeprecatedIf]&lt;true&gt;
:relfileprefix: ../../
:mrdocs:

Using this specialization of `UsesBslmaAllocator&lowbar;DeprecatedIf` yields a deprecation warning on compilers that support a deprecation annotation&period;

== Synopsis

Declared in `&lt;bslma&lowbar;usesbslmaallocator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;&gt;
struct xref:BloombergLP/bslma/UsesBslmaAllocator_DeprecatedIf-0f.adoc[UsesBslmaAllocator&lowbar;DeprecatedIf]&lt;true&gt;;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/UsesBslmaAllocator_DeprecatedIf-0a/check.adoc[`check`]  [.small]#[deprecated]#
| Ignore the specified `message` and return a `char`&period; Declared but not defined&semi; for metaprogramming only&period; Note that, on platforms that support a deprecation attribute, use of this function, even in an unevaluated context, will yield a deprecation warning&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
