Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ test1
Function
test1
test/github_issue53_test.cpp:23–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
};
22
23
leaf::result<int> test1( int a )
24
{
25
if( a == 1 )
26
return leaf::new_error(ErrorCode::E_GENERIC_UNEXPECTED);
27
return 32;
28
}
29
30
leaf::result<float> test2(int a)
31
{
Callers
1
test2
Function · 0.70
Calls
1
new_error
Function · 0.85
Tested by
no test coverage detected