[fpc-pascal] GetEnumerator on Generics
webpirat at mail.ru
Mon Mar 1 13:18:56 CET 2010
01.03.2010 15:17, Neil Graham wrote:
> Which, somewhat laboriously, brings me to my query.
> I'm shunting all of the containers from fgl into the standard Thefbi
> unit and removing the 'fpg' from the class prefixes. So on my system
> tList is the tFPGList fro fgl.
> I'd like to add a GetEnumerator to those classes, but I'm unsure as to
> how to define the enumerator type. which needs to be a class that can
> hold a reference to the specialised generic container.
If you look at fgl which is in trunk you will find one GetEnumerator
More information about the fpc-pascal