Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ f4
Function
f4
example/error_log.cpp:88–95 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
86
}
87
88
leaf::result<void> f4()
89
{
90
ERROR_LOG;
91
if( (std::rand()%100) > failure_percent )
92
return f3();
93
else
94
return leaf::new_error();
95
}
96
97
leaf::result<void> f5()
98
{
Callers
1
f5
Function · 0.70
Calls
2
new_error
Function · 0.85
f3
Function · 0.70
Tested by
no test coverage detected