[Bug c++/42201] [C++0x] std::vectorstd::unique_futureT::push_back fails

2009-11-27 Thread lloyd at randombit dot net
--- Comment #1 from lloyd at randombit dot net 2009-11-27 21:39 --- Created an attachment (id=19165) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19165action=view) Test case Here is the full output compiling this on my machine: $ g++-4.5-20091112 -Wall -W -std=c++0x movable.cpp

[Bug c++/42201] [C++0x] std::vectorstd::unique_futureT::push_back fails

2009-11-27 Thread paolo dot carlini at oracle dot com
--- Comment #2 from paolo dot carlini at oracle dot com 2009-11-27 23:08 --- The issue is pretty simple, actually: std::unique_future (which, by the way, will be renamed just std::future), is missing move assignment operator. Note, in N2914 it does *not* exist, has been added only in