MCPcopy Create free account
hub / github.com/boostorg/leaf / f3

Function f3

test/BOOST_LEAF_ASSIGN_test.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49leaf::result<value> f3()
50{
51 BOOST_LEAF_ASSIGN(auto a, f2());
52 BOOST_LEAF_ASSIGN(auto b, f2()); // Invoking the macro twice in the same scope, testing the temp name generation
53 return value { a.x + b.x };
54}
55
56int main()
57{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected