|
Engine²
Open-source game engine written in C++.
|
Specialization of std::hash for Engine::EntityId to allow it to be used as a key in data containers like std::unordered_map. More...
#include <EntityId.hpp>
Public Member Functions | |
| std::size_t | operator() (const Engine::EntityId &entityId) const noexcept |
| Hash function for EntityId. It uses the hash of the underlying ValueType to compute the hash of the EntityId. | |
Specialization of std::hash for Engine::EntityId to allow it to be used as a key in data containers like std::unordered_map.
|
inlinenoexcept |
Hash function for EntityId. It uses the hash of the underlying ValueType to compute the hash of the EntityId.
| entityId | The EntityId to hash. |