Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::category::is_symmetric< T, Rel > Struct Template Referenceexport

Engineer-supplied trait: relation Rel on T is symmetric (∀x, y: Rel(x, y) ⇔ Rel(y, x)). More...

Inheritance diagram for dedekind::category::is_symmetric< T, Rel >:
Collaboration diagram for dedekind::category::is_symmetric< T, Rel >:

Detailed Description

template<typename T, typename Rel>
struct dedekind::category::is_symmetric< T, Rel >

Engineer-supplied trait: relation Rel on T is symmetric (∀x, y: Rel(x, y) ⇔ Rel(y, x)).

Default false; specialise to true to declare symmetry. Follows the same shape as :mereology's is_reflexive / is_transitive: a class template specialised by partial specialisation, with a member-detection bridge from T's nested is_symmetric_v static.


The documentation for this struct was generated from the following file: