[Mono-list] STL in .net
Thu, 6 Jun 2002 11:40:21 +0100
> Yes, I know... its dificult to leave the past, but I feel
> .Net does'nt have a good Iterator interface where you can go foward
> backward in a collection. Worst, your enumerator become invalid when
> add or remove items from a collection.
Eric Gunnerson (microsoft) has provided some nice examples of how to
user iterators for isolated access (adding and removing items), as well
as using foreach in reverse, on sub-lists, and in sorted order.
Here's the source.