MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / user_code

Function user_code

extlibs/catch/include/catch/catch.hpp:6364–6367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6362
6363 template <typename Fun>
6364 Detail::CompleteType_t<Detail::ResultOf_t<Fun()>> user_code(Fun&& fun) {
6365 CATCH_TRY{
6366 return Detail::complete_invoke(std::forward<Fun>(fun));
6367 } CATCH_CATCH_ALL{
6368 getResultCapture().benchmarkFailed(translateActiveException());
6369 CATCH_RUNTIME_ERROR(Detail::benchmarkErrorMsg);
6370 }

Callers 1

runMethod · 0.85

Calls 1

complete_invokeFunction · 0.85

Tested by

no test coverage detected