xtd 0.2.0
Loading...
Searching...
No Matches

◆ operator()()

template<typename key_t = void>
bool xtd::collections::generic::helpers::equator< key_t >::operator() ( const key_t &  a,
const key_t &  b 
) const
inline

checks if the specified a and b keys are equal.

Parameters
aThe first key to check.
bThe second key to check.
Returns
true if keys are equals; otherwise false.
Remarks
If key_t inherits from xtd::object, the xtd::object::equals method will be used; otherwise, the std::equal_to object function will be used.