ORIGINAL
Loading...
Searching...
No Matches
original::isHashable Concept Reference

Concept checking for hashable types. More...

#include <hash.h>

Concept definition

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

Detailed Description

Concept checking for hashable types.

Template Parameters
DERIVEDThe type to be checked

Requires:

  • toHash() method returning u_integer
  • equals() method taking const DERIVED& and returning bool