Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ ~generator
Method
~generator
tests/EduCoroutineSuspendNeverTest.cpp:24–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
22
23
generator(generator &&rhs) : p{std::exchange(rhs.p, nullptr)} {}
24
~generator() { if (p) { p.destroy(); } }
25
26
private:
27
explicit generator(promise_type* _p)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected