Add ecs::handle comparison operators
This commit is contained in:
parent
f5bd285336
commit
4b1d513cd6
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,9 @@ namespace psemek::ecs
|
|||
{
|
||||
detail::entity_id id;
|
||||
detail::entity_epoch epoch;
|
||||
|
||||
friend bool operator == (handle const &, handle const &) = default;
|
||||
friend auto operator <=> (handle const &, handle const &) = default;
|
||||
};
|
||||
|
||||
inline std::ostream & operator << (std::ostream & out, handle const & handle)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue