HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
semantic_version.hpp
1// Copyright Take Vos 2020-2021.
2// Distributed under the Boost Software License, Version 1.0.
3// (See accompanying file LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt)
4
5#pragma once
6
7#include "../macros.hpp"
8#include <string>
9#include <string_view>
10
11hi_export_module(hikogui.metadata.semantic_version);
12
13hi_export namespace hi::inline v1 {
14
16public:
18 int major;
20 int minor;
22 int patch;
23
24 constexpr semantic_version() noexcept : major(0), minor(0), patch(0) {}
25
26 constexpr semantic_version(int major, int minor, int patch) noexcept : major(major), minor(minor), patch(patch) {}
27};
28
29} // namespace hi::inline v1
DOXYGEN BUG.
Definition algorithm_misc.hpp:20
Definition semantic_version.hpp:15
int patch
Incremented on bug fixes.
Definition semantic_version.hpp:22
int minor
Incremented on additive change.
Definition semantic_version.hpp:20
int major
Incremented on backward incompatible change.
Definition semantic_version.hpp:18