It's strange that no one cares about this. Yes, of course you can use iterators, but this is the overhead of creating a class (allocating memory), which, for example, in the case of TMap is completely meaningless, there are no virtual methods in the iterator