RAD Studio VCL Reference
|
Construct creates an instance of the TComparer class.
class function Construct(const Comparison: TComparison<T>): IComparer<T>;
__fastcall IComparer<T> Construct(const TComparison<T> Comparison);
Use the Construct method when you have to create an instance of the TComparer class. Comparison is a reference to a TComparison routine that will handle all comparison requests.
Construct creates a new instance of TDelegatedComparer, passing the user-supplied routine as a parameter to the constructor of TDelegatedComparer.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|