MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / user_code

Function user_code

tests/catch.hpp:7742–7744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7740
7741template<typename Fun>
7742Detail::CompleteType_t<FunctionReturnType<Fun>> user_code(Fun &&fun)
7743{
7744 CATCH_TRY { return Detail::complete_invoke(std::forward<Fun>(fun)); }
7745 CATCH_CATCH_ALL
7746 {
7747 getResultCapture().benchmarkFailed(translateActiveException());

Callers 1

runMethod · 0.85

Calls 1

complete_invokeFunction · 0.85

Tested by

no test coverage detected