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

20 lines
1008 B
Plaintext
Raw Normal View History

2025-10-09 22:06:54 +07:00
//+------------------------------------------------------------------+
//| IEqualityComparer.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 IEqualityComparer<T>. |
//| Usage: Defines methods to support the comparison of values for |
//| equality. |
//+------------------------------------------------------------------+
template<typename T>
interface IEqualityComparer
{
//--- determines whether the specified values are equal
bool Equals(T x,T y);
//--- returns a hash code for the specified object
int HashCode(T value);
};
//+------------------------------------------------------------------+