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

◆ comparison

template<typename type_t >
using xtd::comparison = typedef delegate<int32, type_t, type_t>

Represents the method that compares two objects of the same type.

Library
xtd.core
Parameters
TThe type of the objects to compare.
xThe first object to compare.
yThe second object to compare.
Returns
Int32 A signed integer that indicates the relative values of x and y, as shown in the following table.
Value Meaning
less than 0 x is less than y.
0 x equals y.
Greater than 0 x is greater than y.