Hi,
I specialized my generic abstract class in a different unit with this type:
TRec = record
A: Integer;
B: Integer;
end;
(A is for sorting, B is for testing of stability, i.e. for MergeSort, TimSort)
and compare function, declared with inline; directive:
function MyComptFunc(
Em seg., 14 de nov. de 2022 15:26, Vojtěch Čihák via fpc-pascal <
fpc-pascal@lists.freepascal.org> escreveu:
> Hi,
>
> I wrote a generic abstract class - a list based on dynamic array (i.e.
> array of T;) and this class can be specialized elsewhere with any type
> (records or classes).
> Part of t