| 7202 | |
| 7203 | template <typename Fun> |
| 7204 | Detail::CompleteType_t<FunctionReturnType<Fun>> user_code(Fun&& fun) { |
| 7205 | CATCH_TRY { return Detail::complete_invoke(std::forward<Fun>(fun)); } |
| 7206 | CATCH_CATCH_ALL { |
| 7207 | getResultCapture().benchmarkFailed(translateActiveException()); |
| 7208 | CATCH_RUNTIME_ERROR(Detail::benchmarkErrorMsg); |