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

Function f

test/on_error_accumulate_basic_test.cpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29leaf::error_id f()
30{
31 auto load = leaf::on_error( [](info<1> & x) {++x.value;}, [](info<2> & x) {++x.value;} );
32 return g();
33}
34
35int main()
36{

Callers 1

mainFunction · 0.70

Calls 2

on_errorFunction · 0.85
gFunction · 0.70

Tested by

no test coverage detected