|
ORIGINAL
|
std::hash specialization for HashTraits types More...
#include <hash.h>

Public Member Functions | |
| std::size_t | operator() (const T &t) const noexcept |
| Hash function operator for STL compatibility. | |
std::hash specialization for HashTraits types
| T | Type that satisfies HashTraits concept |
Provides STL compatibility for types implementing the hashable interface. Enables use of custom hashable types in std::unordered_map, std::unordered_set, etc.
Example:
|
noexcept |
Hash function operator for STL compatibility.
| t | The object to hash |