Am 11.10.2011 06:32, schrieb leledumbo:
Is it possible to write one? Due to the nature of enumerator, the iterator and iterated class usually form mutual dependency. With normal classes, this is no problem as mutual dependency can be resolved with forward type declaration. But what if it's used with generic classes (and therefore generic enumerator)?
I don't know whether I understand your question correctly, but you can take a look at the unit "fgl" which contains a few generic classes and enumerators for them.
Regards, Sven _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal