Hash for storing AreaId pairs as keys.
More...
#include <Hashes.h>
|
| std::size_t | operator() (const std::pair< BWEM::Area::id, BWEM::Area::id > &v) const |
Hash for storing AreaId pairs as keys.
Definition at line 35 of file Hashes.h.
◆ operator()()
| std::size_t AreaIdPairHash::operator() |
( |
const std::pair< BWEM::Area::id, BWEM::Area::id > & | v | ) |
const |
|
inline |
Definition at line 36 of file Hashes.h.
36 {
37 return std::hash<int>{}(v.first) ^ std::hash<int>{}(v.second);
38 }
The documentation for this struct was generated from the following file: