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

Function f2

test/BOOST_LEAF_AUTO_test.cpp:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39leaf::result<value> f2()
40{
41 BOOST_LEAF_AUTO(a, f1());
42#if BOOST_WORKAROUND( BOOST_GCC, < 50000 ) || BOOST_WORKAROUND( BOOST_CLANG, <= 30800 )
43 return std::move(a); // Older compilers are confused, but...
44#else
45 return a; // ...this doesn't need to be return std::move(a);
46#endif
47}
48
49template <class Lambda>
50leaf::result<value> f2_lambda( Lambda )

Callers 1

f3Function · 0.70

Calls 1

f1Function · 0.70

Tested by

no test coverage detected