WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
141565
Add an initializer list constructor to Deque
https://bugs.webkit.org/show_bug.cgi?id=141565
Summary
Add an initializer list constructor to Deque
Anders Carlsson
Reported
2015-02-13 10:20:38 PST
Add an initializer list constructor to Deque
Attachments
Patch
(2.93 KB, patch)
2015-02-13 10:25 PST
,
Anders Carlsson
kling
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2015-02-13 10:25:18 PST
Created
attachment 246530
[details]
Patch
Andreas Kling
Comment 2
2015-02-13 10:29:25 PST
Comment on
attachment 246530
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=246530&action=review
r=me
> Source/WTF/wtf/Deque.h:281 > + for (auto& element : initializerList) > + append(element);
In a perfect world this would use some kind of reserveInitialCapacity() + uncheckedAppend() combo.
Anders Carlsson
Comment 3
2015-02-13 10:46:12 PST
Committed
r180059
: <
http://trac.webkit.org/changeset/180059
>
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