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

Function f_errc

test/handle_some_test.cpp:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43#if BOOST_LEAF_CFG_STD_SYSTEM_ERROR
44template <class R, class Errc>
45leaf::result<R> f_errc( Errc ec )
46{
47 return leaf::new_error(make_error_code(ec), info<1>{1}, info<2>{2}, info<3>{3});
48}
49
50template <class R, class Errc>
51leaf::result<R> f_errc_wrapped( Errc ec )

Callers

nothing calls this directly

Calls 2

new_errorFunction · 0.85
make_error_codeFunction · 0.70

Tested by

no test coverage detected