Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ f1
Function
f1
test/diagnostics_test4.cpp:40–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
};
39
40
leaf::result<void> f1()
41
{
42
auto ctx_ = leaf::on_error([](my_error & e) {e.append(42);});
43
return leaf::new_error();
44
}
45
46
leaf::result<void> f2()
47
{
Callers
1
f2
Function · 0.70
Calls
3
on_error
Function · 0.85
new_error
Function · 0.85
append
Method · 0.80
Tested by
no test coverage detected