System.Generics.Defaults.THasher
Delphi
THasher<T> = reference to function(const Value: T): Integer;
C++
template<typename T> __interface THasher__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
THasher defines a generic callback function used to generate the hash code of a value.
THasher represents any routine capable of generating a hash code out of a given value.
THasher is primarily used together with the TDelegatedEqualityComparer class.
See Also
Code Examples