Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ g1
Function
g1
test/on_error_preload_nested_success_result_test.cpp:19–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
struct info { int value; };
18
19
leaf::result<void> g1()
20
{
21
auto load = leaf::on_error( info{1} );
22
return { };
23
}
24
25
leaf::result<void> g2()
26
{
Callers
1
f
Function · 0.70
Calls
1
on_error
Function · 0.85
Tested by
no test coverage detected