Program Listing for File version.hpp

Return to documentation for file (zeem/version.hpp)

// Copyright (c) 2024-2026 Maarten L. Hekkelman
// SPDX-License-Identifier: BSD-2-Clause

#pragma once

#ifndef ZEEM_CXX_MODULE
# include <cstdint>
#endif

namespace zeem
{

// --------------------------------------------------------------------

struct version_type
{
    uint8_t major;
    uint8_t minor;

    constexpr auto operator<=>(const version_type &) const = default;
};

} // namespace zeem