MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / operator()

Method operator()

tests/EduCoroutineExprTest.cpp:67–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 };
66 awaiter operator co_await() { return awaiter{coro}; }
67 T operator()()
68 {
69 coro.resume();
70 return std::move(coro.promise().result);
71 }
72
73private:
74 std::coroutine_handle<promise_type> coro;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected