//+------------------------------------------------------------------+ //| IComparer.mqh | //| Copyright 2000-2025, MetaQuotes Ltd. | //| https://www.mql5.com | //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ //| Interface IComparer. | //| Usage: Defines a method that a type implements to compare two | //| values. | //+------------------------------------------------------------------+ template interface IComparer { //--- compares two values and returns a value indicating whether one is less than, equal to, or greater than the other int Compare(T x,T y); }; //+------------------------------------------------------------------+