qb
2.0.0.0
C++17 Actor Framework
|
Specialization of std::hash for qb::ActorId. More...
#include <ActorId.h>
Public Member Functions | |
std::size_t | operator() (qb::ActorId const &val) const noexcept |
Hash function operator for ActorId. |
Specialization of std::hash for qb::ActorId.
This hash specialization allows ActorId objects to be used efficiently in unordered associative containers like std::unordered_set and std::unordered_map. The hash function simply uses the numeric representation of the ActorId.
|
inlinenoexcept |
Hash function operator for ActorId.
val | The ActorId to hash |