Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/leaf
/ f1
Function
f1
test/BOOST_LEAF_CHECK_test.cpp:35–41 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
33
};
34
35
leaf::result<value> f1( bool success )
36
{
37
if( success )
38
return value { 21 };
39
else
40
return leaf::new_error();
41
}
42
43
#if BOOST_LEAF_GNUC_STMTEXPR
44
Callers
1
f2
Function · 0.70
Calls
1
new_error
Function · 0.85
Tested by
no test coverage detected