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

Function f5

example/error_trace.cpp:96–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96leaf::result<void> f5()
97{
98 ERROR_TRACE;
99 if( (std::rand()%100) > failure_percent )
100 return f4();
101 else
102 return leaf::new_error();
103}
104
105int main()
106{

Callers 1

mainFunction · 0.70

Calls 2

new_errorFunction · 0.85
f4Function · 0.70

Tested by

no test coverage detected