Implements a function object for compare data.
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 | |
| lesser ()=default | |
| Initializes a new instance of the comparer. | |
| lesser (const xtd::collections::generic::icomparer< value_t > &comparer) | |
| Initializes a new instance of the comparer with specified comparer. | |
Public Operators | |
| constexpr auto | operator() (const first_argument_type &x, const second_argument_type &y) const -> result_type |
| Compares two entities and returns a value indicating whether one is less than the other. | |
| using xtd::collections::generic::helpers::lesser< value_t >::first_argument_type |
Represents the first argument type.
| using xtd::collections::generic::helpers::lesser< value_t >::second_argument_type |
Represents the second argument type.
| using xtd::collections::generic::helpers::lesser< value_t >::result_type |
Represents the result type.
|
default |
Initializes a new instance of the comparer.
|
inlineexplicit |
Initializes a new instance of the comparer with specified comparer.
| comparer | A comparer used to hash the key. |
|
inlineconstexpr |
Compares two entities and returns a value indicating whether one is less than the other.
| x | The first entity to compare. |
| y | The second entity to compare. |