Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
70
leaf::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
79
leaf::result<void> f3()
80
{
Callers
1
f3
Function · 0.70
Calls
2
new_error
Function · 0.85
f1
Function · 0.70
Tested by
no test coverage detected