Namespaces
Variants

std:: hash <std::coroutine_handle>

From cppreference.net
Utilities library
Coroutine support
Coroutine traits
Coroutine handle
No-op coroutines
Trivial awaitables
Range generators
(C++23)
헤더 파일에 정의됨 <coroutine>
template < class Promise >
struct hash < std:: coroutine_handle < Promise >> ;
(C++20부터)

std::hash std::coroutine_handle 에 대한 템플릿 특수화는 사용자가 std:: coroutine_handle < P > 타입 객체의 해시를 얻을 수 있도록 합니다.

operator() 특수화의 operator()는 noexcept입니다.

예제

참고 항목

(C++11)
해시 함수 객체
(클래스 템플릿)