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

Function f_te

test/BOOST_LEAF_CHECK_test.cpp:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67#ifndef BOOST_LEAF_NO_CXX11_REF_QUALIFIERS
68
69test_res<int, test_error> f_te( bool succeed )
70{
71 if( succeed )
72 return 42;
73 else
74 return test_error(42);
75}
76
77test_res<int, test_error> g_check_te()
78{

Callers 1

g_check_teFunction · 0.85

Calls 1

test_errorClass · 0.85

Tested by

no test coverage detected