XIEITE_VERSION_MAJOR, XIEITE_VERSION_MINOR, XIEITE_VERSION_PATCH

Defined in header <xieite/version.hpp>
(header-only: <xieite/pp/version.hpp>)


Macros defining the current version of this library.


Definitions

#major
#define XIEITE_VERSION_MAJOR /* integer literal */
Incremented for every breaking change (i.e. forcing the user to update their code).

#minor
#define XIEITE_VERSION_MINOR /* integer literal */
Incremented when adding a feature.

#patch
#define XIEITE_VERSION_PATCH /* integer literal */
Incremented for fixes and removing unintended behavior.


Example

#include <xieite/version.hpp>
import std;

int main() {
	std::print("v{}.{}.{}\n", XIEITE_VERSION_MAJOR, XIEITE_VERSION_MINOR, XIEITE_VERSION_PATCH);
}
Possible output:
v218.3.4
[View in Compiler Explorer]