Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ f
Function
f
test/on_error_accumulate_basic_test.cpp:29–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
}
28
29
leaf::error_id f()
30
{
31
auto load = leaf::on_error( [](info<1> & x) {++x.value;}, [](info<2> & x) {++x.value;} );
32
return g();
33
}
34
35
int main()
36
{
Callers
1
main
Function · 0.70
Calls
2
on_error
Function · 0.85
g
Function · 0.70
Tested by
no test coverage detected