XTE_VERSION_MAJOR , XTE_VERSION_MINOR , XTE_VERSION_PATCH , XTE_VERSION ()
Defined in header <xte/preproc/version.hpp> Macros defining the current version of this library.
Definitions
#majorIncremented when breaking changes are applied (which forces users to update their code).#define XTE_VERSION_MAJOR /* integer literal */
#minor
Incremented when new features are added.#define XTE_VERSION_MINOR /* integer literal */
#patch
Incremented when bug fixes are applied or internal changes are made.#define XTE_VERSION_PATCH /* integer literal */
#version
Allows up to two additional arguments for the minor and patch versions. Expands to a comparison of XIEITE's version to the provided arguments.#define XTE_VERSION (_operator ,_major ,... /* _minor, _patch */ )/* boolean expression */
Example
[View in Compiler Explorer]std ::println ("v ,{} .{} .{} "XTE_VERSION_MAJOR ,XTE_VERSION_MINOR ,XTE_VERSION_PATCH );