MCPcopy 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
35leaf::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

f2Function · 0.70

Calls 1

new_errorFunction · 0.85

Tested by

no test coverage detected