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

Method my_resumable

tests/EduCoroutineCaptureThisTest.cpp:22–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21 using handle_type = std::coroutine_handle<promise_type>;
22 my_resumable(handle_type h) : m_handle(h) {}
23 ~my_resumable() { if (m_handle) m_handle.destroy(); }
24 my_resumable(my_resumable&& other) = delete;
25 handle_type m_handle;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected