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

(synced from d1845448c3)
This commit is contained in:
2024-05-10 22:10:14 -05:00
parent 88538403b0
commit 3a4af7c0f7
+8
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;