Construct a composite version number from the specified major and minor version numbers. The result is unique for each combination of major and minor, and is sortable such that a value composed from a given major version number will compare larger than a value composed from a smaller major version number (and similarly for minor version numbers). Note that if major and minor are both compile‐time integral constants, then the resulting expression is also a compile‐time integral constant. Also note that the patch version number is intentionally not included. The behavior is undefined unless major is an integral value in the range [0 .. 99] and minor is an integral value in the range [0 .. 9999].

Synopsis

Declared in <bslscm_versiontag.h>

#define BSL_MAKE_VERSION(major, minor)

Created with MrDocs