Lines Matching refs:coroutine_handle
11 template <typename Promise = void> struct coroutine_handle;
13 template <> struct coroutine_handle<void> {
14 static coroutine_handle from_address(void *addr) noexcept {
15 coroutine_handle me;
24 coroutine_handle &operator=(decltype(nullptr)) {
28 coroutine_handle(decltype(nullptr)) : ptr(nullptr) {}
29 coroutine_handle() : ptr(nullptr) {}
37 template <typename Promise> struct coroutine_handle : coroutine_handle<> {
38 using coroutine_handle<>::operator=;
40 static coroutine_handle from_address(void *addr) noexcept {
41 coroutine_handle me;
50 static coroutine_handle from_promise(Promise &promise) {
51 coroutine_handle p;
59 void await_suspend(coroutine_handle<>) {}
65 void await_suspend(coroutine_handle<>) noexcept {}