llvm-project/pstl/include
Ruslan Arutyunyan f824bb0e36 [pstl] Fix incorrect usage of std::invoke_result
std::invoke_result takes function object type and arguments separately
(unlike std::result_of) so, std::invoke_result_t<F()> usage is
incorrect.

On the other hand, we don't need std::invoke() semantics here at all. So
just simplifying the code without extra dependency and use trailing
return type as the fix.

Reviewed By: MikeDvorskiy

Differential Revision: https://reviews.llvm.org/D114624
2021-11-26 17:29:08 +03:00
..
pstl/internal [pstl] Fix incorrect usage of std::invoke_result 2021-11-26 17:29:08 +03:00
__pstl_algorithm [pstl][libc++] Provide uglified header names for interface headers 2019-08-06 21:11:24 +00:00
__pstl_config_site.in [pstl] Initial implementation of OpenMP backend, on behalf of Christopher Nelson nadiasvertex@gmail.com 2021-10-15 15:36:07 +03:00
__pstl_execution [pstl][libc++] Provide uglified header names for interface headers 2019-08-06 21:11:24 +00:00
__pstl_memory [pstl][libc++] Provide uglified header names for interface headers 2019-08-06 21:11:24 +00:00
__pstl_numeric [pstl][libc++] Provide uglified header names for interface headers 2019-08-06 21:11:24 +00:00