<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sáb., 19 de nov. de 2022 18:27, Sven Barth via fpc-pascal <<a href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>> escreveu:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> (...)<br>
<br>
// this kind of constraint that uses T does not work yet<br>
generic TList<T; Comparer: specialize TComparer<T>> = class<br>
procedure Sort;<br>
end;<br>
<br>(...)<br> </blockquote></div></div><div dir="auto">No? Sad, I use this all the time in Java.</div><div dir="auto"><br></div><div dir="auto">Best regards,</div><div dir="auto">Flávio</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br>
</blockquote></div></div></div>