Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::EqualityComparator Concept Reference

Equivalence relation constraint for equality comparators. More...

#include <ah-concepts.H>

Concept definition

template<typename F, typename T>
concept Aleph::EqualityComparator = std::equivalence_relation<F, T, T>
Equivalence relation constraint for equality comparators.
Definition ah-concepts.H:97

Detailed Description

Equivalence relation constraint for equality comparators.

Used by hash table classes (GenLhashTable, ODhashTable, etc.) to constrain the Cmp template parameter. Based on std::equivalence_relation, which requires the functor to be a regular invocable returning a boolean-testable result.

Template Parameters
Ffunctor type.
Tkey type.

Definition at line 97 of file ah-concepts.H.