[fpc-pascal] Overriding properties

Sven Barth pascaldragon at googlemail.com
Wed Jul 9 22:45:03 CEST 2014


Am 09.07.2014 21:41 schrieb "Timothy Groves" <the.tail.kinker at gmail.com>:
>> What exactly is your problem with using generics?
>
> I can't access properties of whatever data type I used to specialize.  So
it's difficult to write a class that contains a list, that allows me to
sort that list.

Do you have an example? Maybe you're misunderstanding something. You can
also take a look at TFPGList in unit fgl or the stl units in
packages/fcl-stl.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140709/80a5df16/attachment.html>


More information about the fpc-pascal mailing list