|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Coroutine traits | ||||
(C++20) | ||||
| Coroutine handle | ||||
(C++20) | ||||
| No-op coroutines | ||||
(C++20) | ||||
(C++20) | ||||
| Trivial awaitables | ||||
(C++20) | ||||
(C++20) | ||||
| Range generators | ||||
(C++23) |
| Member functions | ||||
coroutine_handle::operator= | ||||
| Conversion | ||||
| Observers | ||||
| Control | ||||
| Promise access | ||||
| Export/import | ||||
| Non-member functions | ||||
| Helper classes | ||||
coroutine_handle& operator=(std::nullptr_t)noexcept; | (1) | (since C++20) |
coroutine_handle& operator=(const coroutine_handle& other)=default; | (2) | (since C++20) |
coroutine_handle& operator=( coroutine_handle&& other)=default; | (3) | (since C++20) |
Replaces the underlying address.
| other | - | anothercoroutine_handle to assign from |
*this