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

Class value

test/BOOST_LEAF_CHECK_test.cpp:23–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21namespace leaf = boost::leaf;
22
23struct 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
35leaf::result<value> f1( bool success )
36{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected