KUMI v4.0.0
Flawless Fluorite
Loading...
Searching...
No Matches

◆ is_equality_comparable_v

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

Checks if a two product types are comparable for equality.

Two product types are comparable for equality uf each 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
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