qtty-cpp
Header-only C++ wrapper for qtty
Loading...
Searching...
No Matches
qtty.hpp
Go to the documentation of this file.
1#pragma once
2
33// Core template definitions
34#include "ffi_core.hpp"
35
36// Unit-specific headers
37#include "units/length.hpp"
38#include "units/time.hpp"
39#include "units/angular.hpp"
40#include "units/mass.hpp"
41#include "units/power.hpp"
42#include "units/velocity.hpp"
43
44// User-defined literals
45#include "literals.hpp"
46
47namespace qtty {
48
52inline constexpr struct {
53 int major = 0;
54 int minor = 1;
55 int patch = 0;
57
63 return qtty_ffi_version();
64}
65
66} // namespace qtty
Core quantity template and error translation utilities.
int patch
Definition qtty.hpp:55
int minor
Definition qtty.hpp:54
uint32_t abi_version()
Get the ABI version of the underlying qtty-ffi library.
Definition qtty.hpp:62
int major
Definition qtty.hpp:53
constexpr struct qtty::@0 version
Library version information.