r208655 - in /branches/gcc-4_8-branch/libstdc++...
redi@gcc.gnu.org
redi@gcc.gnu.org
Tue Mar 18 16:30:00 GMT 2014
Author: redi
Date: Tue Mar 18 16:30:28 2014
New Revision: 208655
URL: http://gcc.gnu.org/viewcvs?rev=208655&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:
branches/gcc-4_8-branch/libstdc++-v3/testsuite/30_threads/packaged_task/60564.cc
Modified:
branches/gcc-4_8-branch/libstdc++-v3/ChangeLog
branches/gcc-4_8-branch/libstdc++-v3/include/std/future
More information about the Libstdc++-cvs
mailing list