Consolidate Python ignore rules into root gitignore
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
//+------------------------------------------------------------------+
|
||||
//| DefaultComparer.mqh |
|
||||
//| Copyright 2000-2026, MetaQuotes Ltd. |
|
||||
//| www.mql5.com |
|
||||
//+------------------------------------------------------------------+
|
||||
#include <Generic\Interfaces\IComparer.mqh>
|
||||
#include "CompareFunction.mqh"
|
||||
//+------------------------------------------------------------------+
|
||||
//| Class CDefaultComparer<T>. |
|
||||
//| Usage: Provides a default class for implementations of the |
|
||||
//| IComparer<T> generic interface. |
|
||||
//+------------------------------------------------------------------+
|
||||
template<typename T>
|
||||
class CDefaultComparer: public IComparer<T>
|
||||
{
|
||||
public:
|
||||
CDefaultComparer(void) { }
|
||||
~CDefaultComparer(void) { }
|
||||
//--- compares two values and returns a value describing relationship between them
|
||||
int Compare(T x,T y) { return ::Compare(x,y); }
|
||||
};
|
||||
//+------------------------------------------------------------------+
|
||||
Reference in New Issue
Block a user