[ox/std] Add == and != operators to UUID

This commit is contained in:
Gary Talent 2024-05-10 22:10:14 -05:00
parent c4f6ee0026
commit d1845448c3

View File

@ -146,6 +146,14 @@ class UUID {
return out;
}
constexpr bool operator==(UUID const&o) const noexcept {
return m_value == o.m_value;
}
constexpr bool operator!=(UUID const&o) const noexcept {
return !operator==(o);
}
[[nodiscard]]
constexpr ox::Error toString(Writer_c auto &writer) const noexcept {
auto valueI = 0u;