BSLS_DEPRECATE_ISPASTTHRESHOLD

Expand to true if version M.N of UOR U is past its deprecation threshold.

Synopsis

Declared in <bsls_deprecate.h>

#define BSLS_DEPRECATE_ISPASTTHRESHOLD(U, M, N)

Description

Expand to an expression evaluating to true in a preprocessor context if the specified version M.N of the specified UOR U is past the deprecation threshold for U, and expand to an expression evaluating to false otherwise. Version M.N of U is past the deprecation threshold for U if: * An explicit deprecation threshold has been defined for UOR U and that threshold is greater than or equal to version M.N, or * An explicit deprecation threshold has not been defined for UOR U, the versioning package for UOR U defines <U>_VERSION_MAJOR and <U>_VERSION_MINOR, and the version so designated is greater than version M.N.

Parameters

NameDescription
UUOR whose deprecation threshold is queried
Mmajor version number of the candidate deprecation
Nminor version number of the candidate deprecation