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

Function f1

test/on_error_accumulate_nested_error_result_test.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37leaf::error_id f1()
38{
39 auto load = leaf::on_error( info<0>(-1), info<2>(-1), []( info<1> & x ) {++x.value;} );
40 return f0();
41}
42
43leaf::error_id f2()
44{

Callers 1

f2Function · 0.70

Calls 2

on_errorFunction · 0.85
f0Function · 0.70

Tested by

no test coverage detected