Implement identifier comparison overloads

This commit is contained in:
ζeh Matt
2021-11-24 19:31:44 +02:00
parent c58f96c029
commit 63702fcc6f

View File

@@ -63,4 +63,14 @@ public:
{
return _handle != other;
}
constexpr bool operator==(const TIdentifier& other) const noexcept
{
return _handle == other._handle;
}
constexpr bool operator!=(const TIdentifier& other) const noexcept
{
return _handle != other._handle;
}
};