This commit is contained in:
Nkondog Anselme
2021-11-14 08:19:13 +01:00
parent 0b5d6a5a00
commit ad2fa91937
250 changed files with 213363 additions and 0 deletions
@@ -0,0 +1,19 @@
//+------------------------------------------------------------------+
//| IComparable.mqh |
//| Copyright 2016-2017, MetaQuotes Software Corp. |
//| https://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);
};
//+------------------------------------------------------------------+