[Bug libstdc++/77998] clang rejects std::thread from trunk
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Oct 17 12:24:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77998
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Oct 17 12:23:09 2016
New Revision: 241236
URL: https://gcc.gnu.org/viewcvs?rev=241236&root=gcc&view=rev
Log:
PR77998 Remove std::thread::_Invoker::result_type
PR libstdc++/77998
* include/std/future (__future_base::_Deferred_state)
(__future_base::_Async_state_impl): Use decltype to deduce return
type, instead of _Invoker::result_type.
* include/std/thread (thread::_Invoker::operator()): Likewise.
(thread::_Invoker::result_type): Remove.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/future
trunk/libstdc++-v3/include/std/thread
More information about the Gcc-bugs
mailing list