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

Function f2_lambda

test/BOOST_LEAF_AUTO_test.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49template <class Lambda>
50leaf::result<value> f2_lambda( Lambda )
51{
52 BOOST_LEAF_AUTO(a, f1());
53#if BOOST_WORKAROUND( BOOST_GCC, < 50000 ) || BOOST_WORKAROUND( BOOST_CLANG, <= 30800 )
54 return std::move(a); // Older compilers are confused, but...
55#else
56 return a; // ...this doesn't need to be return std::move(a);
57#endif
58}
59
60leaf::result<value> f3()
61{

Callers 1

f3Function · 0.85

Calls 1

f1Function · 0.70

Tested by

no test coverage detected