MCPcopy Create free account
hub / github.com/boostorg/cobalt / lazy_func

Function lazy_func

example/outcome.cpp:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11using namespace boost;
12
13outcome_v2::awaitables::lazy<int> lazy_func(int x)
14{
15 co_return x + 1;
16}
17
18outcome_v2::awaitables::eager<int> eager_func(int x)
19{

Callers 1

co_mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected