Lines Matching refs:coroutine_handle

27 class coroutine_handle;
29 bool operator==(coroutine_handle<> x, coroutine_handle<> y) _NOEXCEPT;
30 bool operator!=(coroutine_handle<> x, coroutine_handle<> y) _NOEXCEPT;
31 bool operator<(coroutine_handle<> x, coroutine_handle<> y) _NOEXCEPT;
32 bool operator<=(coroutine_handle<> x, coroutine_handle<> y) _NOEXCEPT;
33 bool operator>=(coroutine_handle<> x, coroutine_handle<> y) _NOEXCEPT;
34 bool operator>(coroutine_handle<> x, coroutine_handle<> y) _NOEXCEPT;
40 template <class P> struct hash<coroutine_handle<P>>;
82 class _LIBCPP_TEMPLATE_VIS coroutine_handle;
85 class _LIBCPP_TEMPLATE_VIS coroutine_handle<void> {
88 _LIBCPP_CONSTEXPR coroutine_handle() _NOEXCEPT : __handle_(nullptr) {}
91 _LIBCPP_CONSTEXPR coroutine_handle(nullptr_t) _NOEXCEPT : __handle_(nullptr) {}
94 coroutine_handle& operator=(nullptr_t) _NOEXCEPT {
133 static coroutine_handle from_address(void* __addr) _NOEXCEPT {
134 coroutine_handle __tmp;
141 static coroutine_handle from_address(nullptr_t) _NOEXCEPT {
142 return coroutine_handle(nullptr);
146 static coroutine_handle from_address(_Tp*) {
148 "coroutine_handle<void>::from_address cannot be called with "
158 template <class _PromiseT> friend class coroutine_handle;
164 bool operator==(coroutine_handle<> __x, coroutine_handle<> __y) _NOEXCEPT {
168 bool operator!=(coroutine_handle<> __x, coroutine_handle<> __y) _NOEXCEPT {
172 bool operator<(coroutine_handle<> __x, coroutine_handle<> __y) _NOEXCEPT {
176 bool operator>(coroutine_handle<> __x, coroutine_handle<> __y) _NOEXCEPT {
180 bool operator<=(coroutine_handle<> __x, coroutine_handle<> __y) _NOEXCEPT {
184 bool operator>=(coroutine_handle<> __x, coroutine_handle<> __y) _NOEXCEPT {
189 class _LIBCPP_TEMPLATE_VIS coroutine_handle : public coroutine_handle<> {
190 using _Base = coroutine_handle<>;
194 using coroutine_handle<>::coroutine_handle;
196 _LIBCPP_INLINE_VISIBILITY coroutine_handle() _NOEXCEPT : _Base() {}
197 _LIBCPP_INLINE_VISIBILITY coroutine_handle(nullptr_t) _NOEXCEPT : _Base(nullptr) {}
200 coroutine_handle& operator=(nullptr_t) _NOEXCEPT {
213 static coroutine_handle from_address(void* __addr) _NOEXCEPT {
214 coroutine_handle __tmp;
224 static coroutine_handle from_address(nullptr_t) _NOEXCEPT {
225 return coroutine_handle(nullptr);
229 static coroutine_handle from_address(_Tp*) {
231 "coroutine_handle<promise_type>::from_address cannot be called with "
236 static coroutine_handle from_address(_Promise*) {
238 "coroutine_handle<promise_type>::from_address cannot be used with "
243 static coroutine_handle from_promise(_Promise& __promise) _NOEXCEPT {
245 coroutine_handle __tmp;
257 class _LIBCPP_TEMPLATE_VIS coroutine_handle<noop_coroutine_promise>
258 : public coroutine_handle<> {
259 using _Base = coroutine_handle<>;
278 friend coroutine_handle<noop_coroutine_promise> noop_coroutine() _NOEXCEPT;
280 _LIBCPP_INLINE_VISIBILITY coroutine_handle() _NOEXCEPT {
285 using noop_coroutine_handle = coroutine_handle<noop_coroutine_promise>;
297 void await_suspend(coroutine_handle<>) const _NOEXCEPT {}
306 void await_suspend(coroutine_handle<>) const _NOEXCEPT {}
316 struct hash<_VSTD_CORO::coroutine_handle<_Tp> > {
317 using __arg_type = _VSTD_CORO::coroutine_handle<_Tp>;