Am 09.07.2014 21:41 schrieb "Timothy Groves" <the.tail.kin...@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
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal