| 21 | namespace leaf = boost::leaf; |
| 22 | |
| 23 | struct value |
| 24 | { |
| 25 | int x; |
| 26 | |
| 27 | explicit value( int x_ ): x(x_) { }; |
| 28 | |
| 29 | #ifndef BOOST_LEAF_NO_CXX11_REF_QUALIFIERS |
| 30 | value( value const & ) = delete; |
| 31 | value( value && ) = default; |
| 32 | #endif |
| 33 | }; |
| 34 | |
| 35 | leaf::result<value> f1( bool success ) |
| 36 | { |
nothing calls this directly
no outgoing calls
no test coverage detected