| 6576 | |
| 6577 | template <typename Fun> |
| 6578 | Detail::CompleteType_t<FunctionReturnType<Fun>> user_code(Fun&& fun) { |
| 6579 | CATCH_TRY{ |
| 6580 | return Detail::complete_invoke(std::forward<Fun>(fun)); |
| 6581 | } CATCH_CATCH_ALL{ |
| 6582 | getResultCapture().benchmarkFailed(translateActiveException()); |
| 6583 | CATCH_RUNTIME_ERROR(Detail::benchmarkErrorMsg); |
| 6584 | } |