Files
Bell-PriceActionWithEma-EA/Include/Generic/Interfaces/IComparer.mqh
T

18 lines
981 B
Plaintext
Raw Normal View History

2025-10-09 22:06:54 +07:00
//+------------------------------------------------------------------+
//| IComparer.mqh |
2026-03-06 22:37:52 +07:00
//| Copyright 2000-2026, MetaQuotes Ltd. |
//| www.mql5.com |
2025-10-09 22:06:54 +07:00
//+------------------------------------------------------------------+
//+------------------------------------------------------------------+
//| Interface IComparer<T>. |
//| Usage: Defines a method that a type implements to compare two |
//| values. |
//+------------------------------------------------------------------+
template<typename T>
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);
};
//+------------------------------------------------------------------+