KUMI v4.0.0
Flawless Fluorite
Loading...
Searching...
No Matches
kumi::concepts::equality_comparable Concept Reference

Concept specifying if a type is comparable for each of its components. More...

#include <kumi/utils/concepts.hpp>

Detailed Description

Concept specifying if a type is comparable for each of its components.

A type T models kumi::concepts::equality_comparable<T,U>if it's a kumi::concepts::product_type where each of its elements satisfies kumi::concepts::equality_comparable for all their respective elements.

Concept definition

template<typename T, typename U>
equivalent<T, U> && ((product_type<T> && product_type<U> && kumi_implementation_defined) ||
(record_type<T> && record_type<U> && kumi_implementation_defined))
Concept specifying if a type is comparable for each of its components.
Definition concepts.hpp:392
Concept specifying if two types have matching named fields.
Definition concepts.hpp:380
Concept specifying a type follows the Product Type semantic.
Definition concepts.hpp:87
Concept specifying a type follows the Record Type semantic.
Definition concepts.hpp:104