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)
ハッシュ関数オブジェクト
(クラステンプレート)