This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r208656 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Tue, 18 Mar 2014 16:31:39 -0000
- Subject: r208656 - in /trunk/libstdc++-v3: ChangeLog inc...
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