Implement identifier comparison overloads

This commit is contained in:
ζeh Matt 2021-11-24 19:31:44 +02:00
parent c58f96c029
commit 63702fcc6f
No known key found for this signature in database
GPG Key ID: 18CE582C71A225B0
1 changed files with 10 additions and 0 deletions

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;
}
};