slang::VersionInfo class

Provides access to compile-time generated version info about the library.

Public static functions

static auto getMajor() -> int
Gets the major version number of the library.
static auto getMinor() -> int
Gets the minor version number of the library.
static auto getPatch() -> int
Gets the patch version number of the library.
static auto getHash() -> std::string_view
Gets a string describing the git hash of the library.