| 37 | } |
| 38 | |
| 39 | leaf::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 | |
| 49 | template <class Lambda> |
| 50 | leaf::result<value> f2_lambda( Lambda ) |