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

20 lines
993 B
Plaintext
Raw Normal View History

2025-10-09 22:06:54 +07:00
//+------------------------------------------------------------------+
//| IEqualityComparable.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 IEqualityComparable<T>. |
//| Usage: Defines a generalized method to create a type-specific |
//| method for determining equality of instances. |
//+------------------------------------------------------------------+
template<typename T>
interface IEqualityComparable
{
//--- method for determining equality
bool Equals(T value);
//--- method to calculate hash code
int HashCode(void);
};
//+------------------------------------------------------------------+