MCPcopy Create free account
hub / github.com/Profactor/cv-plot / user_code

Function user_code

CvPlot/ext/catch2/inc/catch.hpp:6520–6523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6518
6519 template <typename Fun>
6520 Detail::CompleteType_t<Detail::ResultOf_t<Fun()>> user_code(Fun&& fun) {
6521 CATCH_TRY{
6522 return Detail::complete_invoke(std::forward<Fun>(fun));
6523 } CATCH_CATCH_ALL{
6524 getResultCapture().benchmarkFailed(translateActiveException());
6525 CATCH_RUNTIME_ERROR(Detail::benchmarkErrorMsg);
6526 }

Callers 1

runMethod · 0.85

Calls 1

complete_invokeFunction · 0.85

Tested by

no test coverage detected