Em sáb., 19 de nov. de 2022 18:27, Sven Barth via fpc-pascal <
fpc-pascal@lists.freepascal.org> escreveu:

>  (...)
>
>    // this kind of constraint that uses T does not work yet
>    generic TList<T; Comparer: specialize TComparer<T>> = class
>      procedure Sort;
>    end;
>
> (...)
>

No? Sad, I use this all the time in Java.

Best regards,
Flávio


>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to