Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/andreasfertig/cppinsights
/ Future
Method
Future
tests/Issue679.cpp:38–40 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
using promise_type = Promise;
37
38
explicit Future(std::coroutine_handle<Promise> handle)
39
: handle (handle)
40
{}
41
42
~Future() {
43
if (handle) { handle.destroy(); }
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected