http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60564

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Tue Mar 18 16:31:38 2014
New Revision: 208656

URL: http://gcc.gnu.org/viewcvs?rev=208656&root=gcc&view=rev
Log:
    PR libstdc++/60564
    * include/std/future (__future_base::_Task_state<>): Change
    constructors to template functions using perfect forwarding.
    (__create_task_state): Use decayed type as stored task.
    (packaged_task::packaged_task(_Fn&&)): Forward instead of moving.
    * testsuite/30_threads/packaged_task/60564.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/30_threads/packaged_task/60564.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/future

Reply via email to