Implement identifier comparison overloads

This commit is contained in:
ζeh Matt committed 2021-12-01 14:41:59 +02:00
1 parent c58f96c029
commit 63702fcc6f
1 file changed
+10
+10
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;
}
};