Bug 132345

Summary: Vector's std::initializer_list constructor should work for move-only types
Product: WebKit Reporter: Zan Dobersek <zan>
Component: New BugsAssignee: Zan Dobersek <zan>
Status: RESOLVED WONTFIX    
Severity: Normal CC: benjamin, cmarcelo, commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 132348    
Attachments:
Description Flags
Patch andersca: review-

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-
Zan Dobersek
Comment 1 2014-04-29 12:14:58 PDT
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.