[fpc-devel] for-in-index loop

Michael Schnell mschnell at lumino.de
Mon Jan 28 10:02:16 CET 2013


On 01/25/2013 05:30 PM, Florian Klämpfl wrote:
> The idea of iterators is actually to replace and get rid of indicies 
> because they e.g. fail as soon as the iterated container is changed 
> during iteration.

To do so, the iterator needs to be notified when an element is added or 
deleted. Is this always given with iterators as defined here ?

-Michael



More information about the fpc-devel mailing list