diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2014-03-18 16:31:38 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2014-03-18 16:31:38 +0000 |
commit | f7e68d0804442a817e73a31b126f1066074b4b00 (patch) | |
tree | 1502ae58f7fe7b92cca55605094fc4b370ec2b03 /libquadmath | |
parent | eb14a79f3588e22985d793cfd1eaf13eea1f955f (diff) | |
download | gcc-f7e68d0804442a817e73a31b126f1066074b4b00.zip gcc-f7e68d0804442a817e73a31b126f1066074b4b00.tar.gz gcc-f7e68d0804442a817e73a31b126f1066074b4b00.tar.bz2 |
re PR libstdc++/60564 ([C++11] The std::packaged_task constructor taking a reference to a functor does not copy its argument.)
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.
From-SVN: r208656
Diffstat (limited to 'libquadmath')
0 files changed, 0 insertions, 0 deletions