| 6582 | |
| 6583 | template <typename Fun> |
| 6584 | Detail::CompleteType_t<FunctionReturnType<Fun>> user_code(Fun&& fun) { |
| 6585 | CATCH_TRY{ |
| 6586 | return Detail::complete_invoke(std::forward<Fun>(fun)); |
| 6587 | } CATCH_CATCH_ALL{ |
| 6588 | getResultCapture().benchmarkFailed(translateActiveException()); |
| 6589 | CATCH_RUNTIME_ERROR(Detail::benchmarkErrorMsg); |
| 6590 | } |