System.Generics.Defaults.TEqualityComparison

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TEqualityComparison<T> = reference to function(const Left, Right: T): Boolean;

C++

template<typename T> __interface TEqualityComparison__1  : public System::IInterface

Properties

Type Visibility Source Unit Parent
anonMethod
class
public
System.Generics.Defaults.pas
System.Generics.Defaults.hpp
System.Generics.Defaults System.Generics.Defaults

Description

TEqualityComparison defines a generic callback function used to check the equality of two generic values.

TEqualityComparison represents any routine capable of checking the equality of two values of the same type.

TEqualityComparison is primarily used together with the TDelegatedEqualityComparer class.

See Also

Code Examples