Use std::invoke_result in std::async instead of std::result_of
authorJonathan Wakely <jwakely@redhat.com>
Thu, 3 May 2018 12:40:15 +0000 (13:40 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 3 May 2018 12:40:15 +0000 (13:40 +0100)
commit9e3ef542877ac62a46e21703ca105f733c47bb64
tree38e8c9b995a45a2d69265fc14ee2e09aa16db903
parent6791489ee5214b0181aa22adc250cbbde1897a5c
Use std::invoke_result in std::async instead of std::result_of

* include/std/future (__async_result_of): Use __invoke_result instead
of result_of.

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