Generic concept for equivalence relation. More...
#include <congruence.hh>
Public Types | |
typedef concept_list < is_callable< Rel(T, T)> , std::is_convertible < typename is_callable< Rel(T, T)>::result_type, bool > > | requirements |
Public Member Functions | |
AXIOMS (reflexivity, symmetry, transitivity) | |
Static Public Member Functions | |
static void | reflexivity (const Rel &rel, const T &a) |
static void | symmetry (const Rel &rel, const T &a, const T &b) |
static void | transitivity (const Rel &rel, const T &a, const T &b, const T &c) |
Generic concept for equivalence relation.