#pragma once #include #include #include struct VersionHelper { VersionHelper(const size_t major, const size_t minor, const size_t revision); auto operator<=>(const VersionHelper&) const = default; static std::optional fromString(std::string_view s); static std::optional fromString(std::wstring_view s); size_t major; size_t minor; size_t revision; std::wstring toWstring() const; std::string toString() const; };