Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ initial_suspend
Method
initial_suspend
tests/Issue726.cpp:8–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
6
#include <coroutine>
7
struct P {
8
std::suspend_always initial_suspend()
9
{
10
return {};
11
}
12
void return_void() const noexcept
13
{
14
std::cout<<
"return_void()\n"
;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected