Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ f
Function
f
test/on_error_defer_basic_test.cpp:45–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
}
44
45
leaf::error_id f()
46
{
47
auto load = leaf::on_error([]{++cleanup_count;});
48
return g();
49
}
50
51
int main()
52
{
Callers
1
main
Function · 0.70
Calls
2
on_error
Function · 0.85
g
Function · 0.70
Tested by
no test coverage detected