Skip to main content

Version and Utilities API

Source headers: raptor/version.hpp, raptor/overloaded.hpp

raptor​

Types​

NameDescription
OverloadedHelper struct for combining multiple callable types into a single visitor.
VersionVersion and build information.

raptor::Overloaded​

template<class... Ts> struct Overloaded: Ts...

Helper struct for combining multiple callable types into a single visitor.

Ts : Callable types (typically lambdas)

Inherits from all provided types and uses using-declarations to bring all operator() overloads into scope.

raptor::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

ref​
std::string_view ref

Source control tag if built from tag, otherwise branch name

revision​
std::string_view revision

Source control commit hash (short)