hanchenye-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_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_memory
__pstl_numeric