using xtd::comparison = typedef delegate<int32, type_t, type_t> |
Represents the method that compares two objects of the same type.
T | The type of the objects to compare. |
x | The first object to compare. |
y | The second object to compare. |
Value | Meaning |
---|---|
less than 0 | x is less than y. |
0 | x equals y. |
Greater than 0 | x is greater than y. |