TRLC Platform Library
1.0.0
Header-only C++ library for compile-time platform detection and abstraction
|
Library version information. More...
#include <trlc/platform/core.hpp>
Static Public Member Functions | |
static static uint32_t | asInteger () |
Get the version as a 32-bit integer. More... | |
static static bool | isAtLeast (int major, int minor=0, int patch=0) |
Check if this version is at least the specified version. More... | |
Static Public Attributes | |
static static int | MAJOR = 1 |
Major version number (breaking changes) More... | |
static static int | MINOR = 0 |
Minor version number (feature additions) More... | |
static static int | PATCH = 0 |
Patch version number (bug fixes) More... | |
static static const char * | STRING = "1.0.0" |
Version string in semantic versioning format. More... | |
Library version information.
Provides compile-time access to the library version number and version string for compatibility checking and reporting.
|
inlinestatic |
Get the version as a 32-bit integer.
|
inlinestatic |
Check if this version is at least the specified version.
major | Minimum major version |
minor | Minimum minor version |
patch | Minimum patch version |
|
static |
Major version number (breaking changes)
|
static |
Minor version number (feature additions)
|
static |
Patch version number (bug fixes)
|
static |
Version string in semantic versioning format.