| 48 | |
| 49 | template <class Lambda> |
| 50 | leaf::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 | |
| 60 | leaf::result<value> f3() |
| 61 | { |