Skip to main content
Version: 1.1 (Latest)

Version API

Source: raptor/version.hpp

Version and build information​

Version​

struct Version

Version and build information

Contains semantic version numbers and build metadata from source control.

See: raptor::Context::version() for the supported way to retrieve the current Raptor SDK version and build information.

Variables​

NameDescription
majorMajor version number.
minorMinor version number.
patchPatch version number.
revisionSource control commit hash (short).
refSource control tag if built from tag, otherwise branch name.

Variable Details​

major​

std::uint32_t major

Major version number

minor​

std::uint32_t minor

Minor version number

patch​

std::uint32_t patch

Patch version number

revision​

std::string_view revision

Source control commit hash (short)

ref​

std::string_view ref

Source control tag if built from tag, otherwise branch name