iterator stability for containers
Daniel Kozak
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?
>
http://www.dsource.org/projects/dcollections
> > 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...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20200921/5220867a/attachment-0001.htm>
More information about the Digitalmars-d
mailing list