Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
11
using namespace boost;
12
13
outcome_v2::awaitables::lazy<int> lazy_func(int x)
14
{
15
co_return x + 1;
16
}
17
18
outcome_v2::awaitables::eager<int> eager_func(int x)
19
{
Callers
1
co_main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected