[Webkit-unassigned] [Bug 70565] HashMap should support OwnPtr
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 24 15:55:14 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=70565
--- Comment #4 from Adam Klein <adamk at chromium.org> 2011-10-24 15:55:14 PST ---
The easiest solution that comes to mind would be to write a wrapper around HashMap (OwnPtrHashMap?) that takes care of the lifetime management issues and exposes a HashMap-like interface with a few tweaks (e.g., take() should return a PassOwnPtr, set and add should take PassOwnPtrs). This would require a lot of copying of interface code, but most of the implementation could still be shared with HashMap.
Darin, how does that strike you?
--
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