WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
132345
Vector's std::initializer_list constructor should work for move-only types
https://bugs.webkit.org/show_bug.cgi?id=132345
Summary
Vector's std::initializer_list constructor should work for move-only types
Zan Dobersek
Reported
2014-04-29 11:18:27 PDT
Vector's std::initializer_list constructor should work for move-only, convertible types
Attachments
Patch
(2.72 KB, patch)
2014-04-29 12:14 PDT
,
Zan Dobersek
andersca
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2014-04-29 12:14:58 PDT
Created
attachment 230397
[details]
Patch
Anders Carlsson
Comment 2
2014-04-30 08:30:59 PDT
Comment on
attachment 230397
[details]
Patch I don't think this is a good idea. std::initializer_list isn't really meant for moving and std::vector doesn't allow this pattern.
Zan Dobersek
Comment 3
2014-04-30 10:49:10 PDT
Agreed.
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