XIEITE_VER_MAJOR
, XIEITE_VER_MINOR
, XIEITE_VER_PATCH
, XIEITE_VER_EQ ()
, XIEITE_VER_LEAST ()
, XIEITE_VER_MOST ()
Defined in header <xieite/pp/ver.hpp>
Macros defining the current version of this library.
Definitions
#majorIncremented when breaking changes are applied (which forces users to update their code).#define XIEITE_VER_MAJOR /* integer literal */
#minor
Incremented when new features are added.#define XIEITE_VER_MINOR /* integer literal */
#patch
Incremented when bug fixes are applied or internal changes are made.#define XIEITE_VER_PATCH /* integer literal */
#eq
Expands to an expression checking whether the library version is equal to some value.#define XIEITE_VER_EQ (type ,major ,... /* minor, patch */ )/* boolean integer literal */
#least
Expands to an expression checking whether the library version is equal to or greater than some value.#define XIEITE_VER_LEAST (type ,major ,... /* minor, patch */ )/* boolean integer literal */
#most
Expands to an expression checking whether the library version is equal to or less than some value.#define XIEITE_VER_MOST (type ,major ,... /* minor, patch */ )/* boolean integer literal */
Example
Possible output:int main () {std ::"v ,{} .{} .{}\n "XIEITE_VER_MAJOR ,XIEITE_VER_MINOR ,XIEITE_VER_PATCH ); }
[View in Compiler Explorer]v0.22.2