Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ taskA
Function
taskA
tests/EduCoroutineStaticVarTest.cpp:58–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
56
}
57
58
Task taskA(Scheduler& sched)
59
{
60
std::cout <<
"Hello, from task A\n"
sv;
61
62
co_await sched.suspend();
63
64
static std::string res{
"a is back doing work\n"
s};
65
std::cout << res;
66
}
67
68
int main()
69
{
Callers
1
main
Function · 0.85
Calls
1
suspend
Method · 0.80
Tested by
no test coverage detected