MCPcopy Create free account
hub / github.com/apache/qpid-proton / user_code

Function user_code

tests/include/catch.hpp:6585–6588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

runMethod · 0.85

Calls 1

complete_invokeFunction · 0.85

Tested by

no test coverage detected