MCPcopy 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
58Task 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
68int main()
69{

Callers 1

mainFunction · 0.85

Calls 1

suspendMethod · 0.80

Tested by

no test coverage detected