KUMI v5.0.0
Gorgeous Garnet
Loading...
Searching...
No Matches

◆ is_equality_comparable_v

template<typename T, typename U>
bool kumi::is_equality_comparable_v = false
inlineconstexpr

Checks if two product types are comparable for equality.

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

Template Parameters
TThe reference product type to access
Uthe product type to check

Helper type-trait

namespace kumi
{
template<typename T, typename U> struct is_equality_comparable;
}
Main KUMI namespace.
Definition algorithm.hpp:11