Changeset 122491 in webkit


Ignore:
Timestamp:
Jul 12, 2012 12:12:08 PM (12 years ago)
Author:
mjs@apple.com
Message:

Document ListHashSet iteration guarantees
https://bugs.webkit.org/show_bug.cgi?id=91106

Reviewed by Eric Seidel.

  • wtf/ListHashSet.h:

(WTF): Expand class comment to document this.

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r122404 r122491  
     12012-07-12  Maciej Stachowiak  <mjs@apple.com>
     2
     3        Document ListHashSet iteration guarantees
     4        https://bugs.webkit.org/show_bug.cgi?id=91106
     5
     6        Reviewed by Eric Seidel.
     7
     8        * wtf/ListHashSet.h:
     9        (WTF): Expand class comment to document this.
     10
    1112012-07-11  Mark Rowe  <mrowe@apple.com>
    212
  • trunk/Source/WTF/wtf/ListHashSet.h

    r112555 r122491  
    3535    // in which they are added.
    3636
     37    // Unlike iteration of most WTF Hash data structures, iteration is
     38    // guaranteed safe against mutation of the ListHashSet, except for
     39    // removal of the item currently pointed to by a given iterator.
     40
    3741    // In theory it would be possible to add prepend, insertAfter
    3842    // and an append that moves the element to the end even if already present,
Note: See TracChangeset for help on using the changeset viewer.