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