Version and Utilities API
Source headers: raptor/version.hpp, raptor/overloaded.hpp
raptor
Types
| Name | Description |
|---|---|
| Overloaded | Helper struct for combining multiple callable types into a single visitor. |
| Version | Version 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
| Name | Description |
|---|---|
| major | Major version number. |
| minor | Minor version number. |
| patch | Patch version number. |
| revision | Source control commit hash (short). |
| ref | Source 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)