http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49668
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011.07.07 08:33:23 Ever Confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-07-07 08:33:23 UTC --- The same problem exists for std::packaged_task and std::async include <future> struct moveable { moveable() = default; moveable(moveable&&) = default; }; void f(moveable) { } int main() { std::packaged_task<void(moveable)> p(f); p(moveable()); }