KUMI v4.0.0
Flawless Fluorite
Loading...
Searching...
No Matches
kumi::is_equality_comparable< Seq, T, U > Struct Template Reference

Checks if a two product types are comparable for equality. More...

#include <kumi/utils/traits.hpp>

Detailed Description

template<typename Seq, typename T, typename U>
struct kumi::is_equality_comparable< Seq, T, U >

Checks if a two product types are comparable for equality.

Two product types are comparable for equality uf eacg field in T have a corresponding field in U with each of their underlying types being comparable (the == operator can be used betewen them).

Template Parameters
SeqThe Index sequence sized on the size of the input product types
TThe reference product type to access
Uthe product type to check

Helper type

namespace kumi
{
template<typename T, typename U> is_equality_comparable_t
}
Main KUMI namespace.
Definition algorithm.hpp:11
Checks if a two product types are comparable for equality.
Definition traits.hpp:638

Helper value

namespace kumi
{
template<typename T, typename U> using is_equality_comparable_v = is_equivalent_t<T,U>::value;
}