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