|
BDE 4.39.x Production Release
|
Provide a macro to control bsl deprecations by release version.
Provide a macro to control bsl deprecations by release version.
bsl versionThis component provides a macro, BSL_VERSION_DEPRECATION_THRESHOLD, that is used to control whether or not deprecations introduced in any given version of bsl are active.
This component exists only because the structure of bsl is NON-STANDARD, which prevents us from defining the deprecation threshold macro in bslscm, where it normally would belong. Other UORs should NOT use this component as a model. Please see bsls_deprecate and the version tag components in other, standard-conforming, BDE UORs such as bdlscm_versiontag .
There is no usage example for this component since it is not meant for direct client use.
| #define BSL_VERSION_DEPRECATION_THRESHOLD BSLS_DEPRECATE_MAKE_VER(3, 1) |
Declare that deprecations for this UOR introduced in the specified version or earlier will be "active" by default – i.e., BSLS_DEPRECATE_IS_ACTIVE will be true (which typically enables deprecation warnings).