|
IComparer<T>
IComparer<T> is an interface for implementing a generic class that compares two object of the T type, whether one is greater than, less than or equal to the other one
Description
The IComparer<T> interface determines a method to compare two objects of the T type, on the basis of which a collection of these objects can be sorted.
Declaration
template<typename T>
|
Header
#include <Generic\Interfaces\IComparer.mqh> |
Inheritance Hierarchy IComparer Direct descendants |
Class Methods
Method |
Description |
---|---|
Compares two values of type T |