//+------------------------------------------------------------------+ //| IEqualityComparable.mqh | //| Copyright 2000-2025, MetaQuotes Ltd. | //| https://www.mql5.com | //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ //| Interface IEqualityComparable. | //| Usage: Defines a generalized method to create a type-specific | //| method for determining equality of instances. | //+------------------------------------------------------------------+ template interface IEqualityComparable { //--- method for determining equality bool Equals(T value); //--- method to calculate hash code int HashCode(void); }; //+------------------------------------------------------------------+