Class providing basic system information. More...
#include <eagine/build_info.hpp>
Public Member Functions | |
auto | version_tuple () const noexcept -> const std::tuple< int, int, int, int > & |
Returns the project version numbers in a single tuple. More... | |
auto | version_major () const noexcept -> valid_if_nonnegative< int > |
Returns the project major version number. More... | |
auto | version_minor () const noexcept -> valid_if_nonnegative< int > |
Returns the project minor version number. More... | |
auto | version_patch () const noexcept -> valid_if_nonnegative< int > |
Returns the project patch number. More... | |
auto | version_commit () const noexcept -> valid_if_nonnegative< int > |
Returns the project commit number. More... | |
auto | has_version () const noexcept -> bool |
Indicates if major and minor version numbers are known. More... | |
auto | version_at_least (int major, int minor) const -> tribool |
Checks if the project build version is at least as specified. | |
auto | version_at_least (int major, int minor, int patch) const -> tribool |
Checks if the project build version is at least as specified. | |
auto | version_at_least (int major, int minor, int patch, int commit) const -> tribool |
Checks if the project build version is at least as specified. | |
Class providing basic system information.
|
inlinenoexcept |
Indicates if major and minor version numbers are known.
|
inlinenoexcept |
Returns the project commit number.
|
inlinenoexcept |
Returns the project major version number.
Referenced by has_version().
|
inlinenoexcept |
Returns the project minor version number.
Referenced by has_version().
|
inlinenoexcept |
Returns the project patch number.
|
inlinenoexcept |
Returns the project version numbers in a single tuple.
Referenced by version_commit(), version_major(), version_minor(), and version_patch().