[Webkit-unassigned] [Bug 70565] HashMap should support OwnPtr for mapped values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 8 22:28:05 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=70565


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|HashMap should support      |HashMap should support
                   |OwnPtr                      |OwnPtr for mapped values
             Status|NEW                         |ASSIGNED
         AssignedTo|webkit-unassigned at lists.web |darin at apple.com
                   |kit.org                     |




--- Comment #6 from Darin Adler <darin at apple.com>  2011-11-08 22:28:05 PST ---
I started working on it. It’s easier than it sounds.

I am almost certain that it’s the *values* that we need OwnPtr for. All those cases where we use deleteAllValues are the things that cause trouble.

> It'll be nice if containers that didn't support OwnPtr either had a comment or spit out a compilation error when OwnPtr is used in key or value.

What’s the current status on this? I thought there was a compilation error if you tried to use an OwnPtr as a key already.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list