Quick Links: |
Provide versioning information for the bdl
package group.
More...
bdl
package group. bdl
package group. The BDL_VERSION
macro that is supplied can be used for conditional-compilation based on bdl
version information. The following usage example illustrates this basic capability. bdl
is always released in lock-step with bsl
, they share common versioning, and the BDL_VERSION
will always equal the BSL_VERSION
. #if
preprocessor directive compares BDL_VERSION
(i.e., the latest BDL version, excluding the patch version) to a specified major and minor version composed using the BSL_MAKE_VERSION
macro: #if BDL_VERSION > BSL_MAKE_VERSION(1, 3) // Call 'newFunction' for BDL versions later than 1.3. int result = newFunction(); #else // Call 'oldFunction' for BDL version 1.3 or earlier. int result = oldFunction(); #endif