[fpc-pascal] Comparison operator for generics
Ryan Joseph
ryan at thealchemistguild.com
Tue Sep 12 11:07:39 CEST 2017
> On Sep 12, 2017, at 12:59 PM, Sven Barth via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> You could try to use the TEqualityComparer<> (or so) types from the rtl-generics package (don't know in which unit exactly they are ^^') as those can work with records without operator overloads.
>
Do any examples of how to use the class exist? I searched around and couldn’t find a single snippet even though it appears to exist in Delphi.
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list