MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / await_ready

Method await_ready

tests/Issue526.cpp:11–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9struct executable { static U execute() { co_await T{}; } };
10struct hello_logic {
11 bool await_ready() const noexcept { return true; }
12 void await_suspend(std::coroutine_handle<>) const noexcept { }
13 void await_resume() const noexcept { std::cout << "Hello, world" << std::endl; }
14};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected