|
ORIGINAL
|
Requires type to implement the hashable interface with toHash method. More...
#include <types.h>
Requires type to implement the hashable interface with toHash method.
| T | The type to check |
This concept enforces that a type provides a custom hashing interface through a toHash method and supports equality comparison. Types satisfying this concept can be used with the hashable base class and benefit from automatic STL hash integration.
Requirements:
u_integer toHash() const noexceptoperator== or equals method)Hash Consistency Requirement:
a == b, then a.toHash() == b.toHash()