andrej.mitrovich at gmail.com
Mon Jan 9 10:35:26 PST 2012
On 1/9/12, Steven Schveighoffer <schveiguy at yahoo.com> wrote:
> BTW, dcollections' HashMap, HashSet, and HashMultiset do guarantee that
> adding elements does not invalidated cursors (dcollections' safe version
> of pointers) as long as you use the default Hash implementation. However,
> I just noticed this is not stated anywhere in the docs (will fix).
Funny, I was looking at the docs a few days ago and it said "Adding an
element can invalidate cursors depending on the implementation.", so I
just assumed it did invalidate the cursors.
I do think those are dcollections v1 docs though. Anyway glad to hear
from you about this.
More information about the Digitalmars-d-learn