diff --git a/pstl/include/pstl/internal/utils.h b/pstl/include/pstl/internal/utils.h --- a/pstl/include/pstl/internal/utils.h +++ b/pstl/include/pstl/internal/utils.h @@ -21,8 +21,8 @@ { template -typename std::result_of<_Fp()>::type -__except_handler(_Fp __f) +auto +__except_handler(_Fp __f) -> decltype(__f()) { try {