C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::version Class Reference

Provides version information for CAF. More...

#include <version.hpp>

Public Types

enum class  abi_token
 An opaque token that represents the ABI version of CAF.
 

Static Public Member Functions

static int get_major () noexcept
 Returns the major version number of CAF.
 
static int get_minor () noexcept
 Returns the minor version number of CAF.
 
static int get_patch () noexcept
 Returns the patch version number of CAF.
 
static std::string_view str () noexcept
 Returns the full version number of CAF as human-readable string.
 
static const char * c_str () noexcept
 Returns the full version number of CAF as human-readable string.
 
static void check_abi_compatibility (abi_token token) noexcept
 Checks whether the ABI token is compatible with the current version of CAF.
 

Detailed Description

Provides version information for CAF.

Member Function Documentation

◆ check_abi_compatibility()

static void caf::version::check_abi_compatibility ( abi_token token)
staticnoexcept

Checks whether the ABI token is compatible with the current version of CAF.

Otherwise, calls abort.


The documentation for this class was generated from the following files: