diff options
author | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-18 16:31:38 +0000 |
---|---|---|
committer | redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-18 16:31:38 +0000 |
commit | c86351f37a1b9401b90065224f8c7c4d875c7bb6 (patch) | |
tree | 1502ae58f7fe7b92cca55605094fc4b370ec2b03 /libstdc++-v3/include/debug/safe_local_iterator.h | |
parent | ac3cd7cee064c7cb8694636f63fc80c546457a46 (diff) | |
download | ppe42-gcc-c86351f37a1b9401b90065224f8c7c4d875c7bb6.tar.gz ppe42-gcc-c86351f37a1b9401b90065224f8c7c4d875c7bb6.zip |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208656 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/debug/safe_local_iterator.h')
0 files changed, 0 insertions, 0 deletions