Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ f1
Function
f1
test/on_error_defer_nested_error_exception_test.cpp:43–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
}
42
43
void f1()
44
{
45
auto load = leaf::on_error( [] { return info<0>{-1}; }, [] { return info<1>{1}; }, [] { return info<2>{-1}; } );
46
f0();
47
}
48
49
void f2()
50
{
Callers
1
f2
Function · 0.70
Calls
2
on_error
Function · 0.85
f0
Function · 0.70
Tested by
no test coverage detected