------- Comment #7 from tom dot prince at ualberta dot net 2009-04-27 14:50 ------- Created an attachment (id=17767) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17767&action=view) Various failed attempts to create a std::vector<std::unique_ptr<int>> from an intializer list.
These are my attempts at creating a std::vector using an intilializer_list of movable but not copyable objects. I don't think the standard requires this to be possible, but I would suspect this is merely an oversight. Also, the last function here generates an ICE (errors attached). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39923