future (unique_future::get, [...]): Remove workaround for c++/34022.
2009-12-15 Jonathan Wakely <jwakely.gcc@gmail.com> * include/std/future (unique_future::get, promise::set_value): Remove workaround for c++/34022. (packaged_task::get_future, packaged_task::operator()): Use __throw_bad_function_call. * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust. * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise. * testsuite/30_threads/promise/cons/assign_neg.cc: Likewise. * testsuite/30_threads/promise/cons/copy_neg.cc: Likewise. * testsuite/30_threads/shared_future/cons/assign_neg.cc: Likewise. * testsuite/30_threads/unique_future/cons/assign_neg.cc: Likewise. * testsuite/30_threads/unique_future/cons/copy_neg.cc: Likewise. From-SVN: r155269
Showing
- libstdc++-v3/ChangeLog 14 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/std/future 8 additions, 38 deletionslibstdc++-v3/include/std/future
- libstdc++-v3/testsuite/30_threads/packaged_task/cons/assign_neg.cc 1 addition, 1 deletion...-v3/testsuite/30_threads/packaged_task/cons/assign_neg.cc
- libstdc++-v3/testsuite/30_threads/packaged_task/cons/copy_neg.cc 1 addition, 1 deletion...++-v3/testsuite/30_threads/packaged_task/cons/copy_neg.cc
- libstdc++-v3/testsuite/30_threads/promise/cons/assign_neg.cc 1 addition, 1 deletionlibstdc++-v3/testsuite/30_threads/promise/cons/assign_neg.cc
- libstdc++-v3/testsuite/30_threads/promise/cons/copy_neg.cc 1 addition, 1 deletionlibstdc++-v3/testsuite/30_threads/promise/cons/copy_neg.cc
- libstdc++-v3/testsuite/30_threads/shared_future/cons/assign_neg.cc 1 addition, 1 deletion...-v3/testsuite/30_threads/shared_future/cons/assign_neg.cc
- libstdc++-v3/testsuite/30_threads/unique_future/cons/assign_neg.cc 1 addition, 1 deletion...-v3/testsuite/30_threads/unique_future/cons/assign_neg.cc
- libstdc++-v3/testsuite/30_threads/unique_future/cons/copy_neg.cc 1 addition, 1 deletion...++-v3/testsuite/30_threads/unique_future/cons/copy_neg.cc
Loading
Please register or sign in to comment