MCPcopy Create free account
hub / github.com/cinemast/libjson-rpc-cpp / user_code

Function user_code

src/catch2/catch.hpp:6578–6581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 }

Callers 1

runMethod · 0.85

Calls 1

complete_invokeFunction · 0.85

Tested by

no test coverage detected