|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 | ||||
| Conversion | ||||
| Observers | ||||
| Control | ||||
| Promise access | ||||
| Export/import | ||||
| Non-member functions | ||||
| Helper classes | ||||
hash<std::coroutine_handle> |
Defined in header <coroutine> | ||
template<class Promise> struct hash<std::coroutine_handle<Promise>>; | (since C++20) | |
The template specialization ofstd::hash forstd::coroutine_handle allows users to obtain hashes of objects of typestd::coroutine_handle<P>.
operator() of the specialization is noexcept.
| This section is incomplete Reason: no example |
(C++11) | hash function object (class template)[edit] |