Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ f5
Function
f5
example/error_log.cpp:97–104 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
95
}
96
97
leaf::result<void> f5()
98
{
99
ERROR_LOG;
100
if( (std::rand()%100) > failure_percent )
101
return f4();
102
else
103
return leaf::new_error();
104
}
105
106
int main()
107
{
Callers
1
main
Function · 0.70
Calls
2
new_error
Function · 0.85
f4
Function · 0.70
Tested by
no test coverage detected