]> gcc.gnu.org Git - gcc.git/commit
PR libstdc++/42819, DR 1315
authorJonathan Wakely <jwakely.gcc@gmail.com>
Fri, 12 Feb 2010 22:31:15 +0000 (22:31 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 12 Feb 2010 22:31:15 +0000 (22:31 +0000)
commit73c5c5bbb3db6cc97e55cb3a207d827f4404f32f
tree02479959630e11c714da7c2f486204953c6408ba
parentda7d88bfc2d587bd1c5f670faf7832238a42ddba
PR libstdc++/42819, DR 1315

2010-02-12  Jonathan Wakely  <jwakely.gcc@gmail.com>
    Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/42819, DR 1315
* include/std/future (async): Use std::result_of for the template
argument of the std::future return type; adjust everywhere.
* testsuite/30_threads/async/42819.cc: New.
* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
dg-error line number.
* testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
* testsuite/30_threads/future/cons/assign_neg.cc: Likewise.
* testsuite/30_threads/future/cons/copy_neg.cc: Likewise.
* testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
* testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.

Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com>
From-SVN: r156742
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/future
libstdc++-v3/testsuite/30_threads/async/42819.cc [new file with mode: 0644]
libstdc++-v3/testsuite/30_threads/future/cons/assign_neg.cc
libstdc++-v3/testsuite/30_threads/future/cons/copy_neg.cc
libstdc++-v3/testsuite/30_threads/packaged_task/cons/assign_neg.cc
libstdc++-v3/testsuite/30_threads/packaged_task/cons/copy_neg.cc
libstdc++-v3/testsuite/30_threads/promise/cons/assign_neg.cc
libstdc++-v3/testsuite/30_threads/promise/cons/copy_neg.cc
This page took 0.058531 seconds and 5 git commands to generate.