Compares two things together by comparing a common publicly visible field of T and U.
It can be customized with a unary or binary predicate. If a unary predicate is provided then it acts as
a transformation that is applies to the elements being compare for equality. If a binary predicate is
provided then that binary predicate is given the values and must return true or false.
member = which member in T and U to perform equlity on
pred = a nullary, unary, or binary predicate
lhs = left hand side of ==
rhs = right hand side of ==
Compares two things together by comparing a common publicly visible field of T and U.
It can be customized with a unary or binary predicate. If a unary predicate is provided then it acts as a transformation that is applies to the elements being compare for equality. If a binary predicate is provided then that binary predicate is given the values and must return true or false.