Implements a function object for performing comparisons. Unless specialised, invokes operator== on type type_t. xtd::equator with the key and the value strongly typed to be xtd::any_object.
Public Aliases | |
| using | first_argument_type |
| Represents the first argument type. | |
| using | second_argument_type |
| Represents the second argument type. | |
| using | result_type |
| Represents the result type. | |
Public Constructors | |
| equator ()=default | |
| Initializes a new instance of the hasher. | |
| equator (const xtd::collections::generic::iequality_comparer< value_t > &comparer) | |
| Initializes a new instance of the hasher with specified comparer. | |
Public Operators | |
| auto | operator() (const first_argument_type &a, const second_argument_type &b) const -> result_type |
| checks if the specified a and b keys are equal. | |
| using xtd::collections::generic::helpers::equator< value_t >::first_argument_type |
Represents the first argument type.
| using xtd::collections::generic::helpers::equator< value_t >::second_argument_type |
Represents the second argument type.
| using xtd::collections::generic::helpers::equator< value_t >::result_type |
Represents the result type.
|
default |
Initializes a new instance of the hasher.
|
inlineexplicit |
Initializes a new instance of the hasher with specified comparer.
| comparer | A comparer used to hash the key. |
|
inline |
checks if the specified a and b keys are equal.
| a | The first key to check. |
| b | The second key to check. |