Files
Bell-PriceActionWithEma-EA/Include/Generic/Interfaces/IComparable.mqh
T
Bell 8fb610e69c 1
2026-03-06 22:37:52 +07:00

20 lines
1.0 KiB
Plaintext

//+------------------------------------------------------------------+
//| IComparable.mqh |
//| Copyright 2000-2026, MetaQuotes Ltd. |
//| www.mql5.com |
//+------------------------------------------------------------------+
#include "IEqualityComparable.mqh"
//+------------------------------------------------------------------+
//| Interface IComparable<T>. |
//| Usage: Defines a generalized comparison method to create a |
//| type-specific comparison method for ordering or sorting |
//| instances. |
//+------------------------------------------------------------------+
template<typename T>
interface IComparable: public IEqualityComparable<T>
{
//--- method for determining compare
int Compare(T value);
};
//+------------------------------------------------------------------+