[fpc-pascal] Comparison operator for generics

Maciej Izak hnb.code at gmail.com
Tue Sep 12 11:45:28 CEST 2017


2017-09-12 7:59 GMT+02:00 Sven Barth via fpc-pascal <
fpc-pascal at lists.freepascal.org>:

> 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.
>

Generics.Defaults :P

-- 
Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20170912/a02a619e/attachment.html>


More information about the fpc-pascal mailing list