MCPcopy Create free account
hub / github.com/RenderKit/oidn / user_code

Function user_code

external/catch.hpp:6575–6578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6573
6574 template <typename Fun>
6575 Detail::CompleteType_t<FunctionReturnType<Fun>> user_code(Fun&& fun) {
6576 CATCH_TRY{
6577 return Detail::complete_invoke(std::forward<Fun>(fun));
6578 } CATCH_CATCH_ALL{
6579 getResultCapture().benchmarkFailed(translateActiveException());
6580 CATCH_RUNTIME_ERROR(Detail::benchmarkErrorMsg);
6581 }

Callers 1

runMethod · 0.85

Calls 1

complete_invokeFunction · 0.85

Tested by

no test coverage detected