[Bug libstdc++/79486] [7 Regression] packaged_task uses wrong value category with result_of
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 13 13:14:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79486
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Feb 13 13:13:29 2017
New Revision: 245386
URL: https://gcc.gnu.org/viewcvs?rev=245386&root=gcc&view=rev
Log:
PR libstdc++/79486 use lvalues in result_of expressions
PR libstdc++/79486
* include/std/future (__future_base::_Task_state::_M_run)
(__future_base::_Task_state::_M_run_delayed): Use lvalue types in
result_of expressions.
* testsuite/30_threads/packaged_task/79486.cc: New.
Added:
trunk/libstdc++-v3/testsuite/30_threads/packaged_task/79486.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/future
More information about the Gcc-bugs
mailing list