WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
15807
HashMap needs a take() function that combines get and remove
https://bugs.webkit.org/show_bug.cgi?id=15807
Summary
HashMap needs a take() function that combines get and remove
Darin Adler
Reported
2007-11-02 15:10:19 PDT
Hyatt pointed out that it's awkward to use iterators to find something and then get the value and remove it. Instead he'd like a take() function built into map that does the job. I'll add it.
Attachments
patch
(12.54 KB, patch)
2007-11-02 17:13 PDT
,
Darin Adler
mjs
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2007-11-02 17:13:42 PDT
Created
attachment 17004
[details]
patch
Maciej Stachowiak
Comment 2
2007-11-02 17:20:25 PDT
Comment on
attachment 17004
[details]
patch r=me
Darin Adler
Comment 3
2007-11-02 17:42:18 PDT
Committed revision 27385.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug