Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ g1
Function
g1
test/on_error_defer_nested_success_exception_test.cpp:32–35 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
struct info { int value; };
31
32
void g1()
33
{
34
auto load = leaf::on_error( [] { return info{1}; } );
35
}
36
37
void g2()
38
{
Callers
1
f
Function · 0.70
Calls
1
on_error
Function · 0.85
Tested by
no test coverage detected