Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ f3
Function
f3
example/error_log.cpp:79–86 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
77
}
78
79
leaf::result<void> f3()
80
{
81
ERROR_LOG;
82
if( (std::rand()%100) > failure_percent )
83
return f2();
84
else
85
return leaf::new_error();
86
}
87
88
leaf::result<void> f4()
89
{
Callers
1
f4
Function · 0.70
Calls
2
new_error
Function · 0.85
f2
Function · 0.70
Tested by
no test coverage detected