This commit is contained in:
Richard Holland
2024-10-12 18:49:14 +11:00
parent e305c6b52a
commit a4e6dd2d3e

View File

@@ -578,13 +578,13 @@ template <std::size_t Bits, class Tag>
operator<=>(base_uint<Bits, Tag> const& lhs, base_uint<Bits, Tag> const& rhs)
{
return std::lexicographical_compare_three_way(
lhs.cbegin(), lhs.cend(),
rhs.cbegin(), rhs.cend(),
std::compare_three_way{}
);
lhs.cbegin(),
lhs.cend(),
rhs.cbegin(),
rhs.cend(),
std::compare_three_way{});
}
template <std::size_t Bits, typename Tag>
[[nodiscard]] inline constexpr bool
operator==(base_uint<Bits, Tag> const& lhs, base_uint<Bits, Tag> const& rhs)