MCPcopy Create free account
hub / github.com/boostorg/leaf / f2

Function f2

example/error_log.cpp:70–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70leaf::result<void> f2()
71{
72 ERROR_LOG;
73 if( (std::rand()%100) > failure_percent )
74 return f1();
75 else
76 return leaf::new_error();
77}
78
79leaf::result<void> f3()
80{

Callers 1

f3Function · 0.70

Calls 2

new_errorFunction · 0.85
f1Function · 0.70

Tested by

no test coverage detected