MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / STDEXEC_CATCH

Function STDEXEC_CATCH

examples/hello_coro.cpp:53–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51 std::cout << "The answer is " << i.value() << '\n';
52 }
53 STDEXEC_CATCH(std::exception & e)
54 {
55 std::cerr << "error: " << e.what() << '\n';
56 }
57 STDEXEC_CATCH_ALL
58 {
59 std::cerr << "unknown error\n";

Callers

nothing calls this directly

Calls 1

whatMethod · 0.45

Tested by

no test coverage detected