Concept checking for hashable types.
More...
#include <hash.h>
template<typename DERIVED>
requires(const DERIVED& t, const DERIVED& other) {
{ t.toHash() } -> std::same_as<u_integer>;
{ t.equals(other) } -> std::same_as<bool>;
}
Concept checking for hashable types.
Definition hash.h:56
Concept checking for hashable types.
- Template Parameters
-
DERIVED | The type to be checked |
Requires:
- toHash() method returning u_integer
- equals() method taking const DERIVED& and returning bool