future (future::share): Add.
authorJonathan Wakely <redi@gcc.gnu.org>
Fri, 25 Mar 2011 23:16:09 +0000 (23:16 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 25 Mar 2011 23:16:09 +0000 (23:16 +0000)
commite3e08a1db5d35f7872683d6eb5ac8e08d9c9168c
tree122d1cff1303b85f00d089a935b05395e07fa4b9
parent4be2a0816895b102b529286e1371ee0935b3c8b1
future (future::share): Add.

2011-03-25  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/std/future (future::share): Add.
(packaged_task::result_type): Remove as per LWG 2030.
(packaged_task::packaged_task): Remove redundant constructors, as per
LWG 1514.
* testsuite/30_threads/future/members/share.cc: New.
* testsuite/30_threads/packaged_task/requirements/typedefs.cc: Remove.

From-SVN: r171531
libstdc++-v3/include/std/future
libstdc++-v3/testsuite/30_threads/future/members/share.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/packaged_task/requirements/typedefs.cc [deleted file]