| 143 | struct [[nodiscard]] version |
| 144 | { |
| 145 | constexpr version(const std::uint64_t major_, const std::uint64_t minor_, const std::uint64_t patch_) noexcept : major(major_), minor(minor_), patch(patch_) {} |
| 146 | |
| 147 | // In C++20 and later we can use the spaceship operator `<=>` to automatically generate comparison operators. In C++17 we have to define them manually. |
| 148 | #ifdef __cpp_impl_three_way_comparison |
nothing calls this directly
no outgoing calls
no test coverage detected