]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR77998 Remove std::thread::_Invoker::result_type
authorJonathan Wakely <jwakely@redhat.com>
Mon, 17 Oct 2016 12:23:09 +0000 (13:23 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 17 Oct 2016 12:23:09 +0000 (13:23 +0100)
commita2284544a152bbe3c03408fa63acba7d9d55a9e5
tree5a87be9c0fb7fae77d062a943aadd67e63a41963
parent74cf9664e8a767a329131413de2271a4aae7488a
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.

From-SVN: r241236
libstdc++-v3/ChangeLog
libstdc++-v3/include/std/future
libstdc++-v3/include/std/thread