iterator stability for containers
kozzi11 at gmail.com
Mon Sep 21 21:27:38 UTC 2020
On Mon, Sep 21, 2020 at 11:05 PM ikod via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:
> Sorry, do you mean - the sources were lost?
> > Honestly, my impetus for creating dcollections was to reproduce
> > some of the nice features of iterators in C++, including
> > removal while iterating.
> Agree totally.
> I have problems with stable and performant iterator over unrolled
> linked list, so I'm looking around for available solutions.
>From my POV I`m ok even with containers where stability is not provide. But
it would be perfect to have containers when I can select between
performance or stability.
I hardly ever need stability from containers, so for me it would be ok to
not guarantee in favor of speed. But still would be nice to have a way to
say that in some cases I prefer stability
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Digitalmars-d