std::hash<std::coroutine_handle>
From cppreference.com
< C++ | coroutine | coroutine handle
| ヘッダ <coroutine> で定義 |
||
| template< class Promise > struct hash<std::coroutine_handle<Promise>>; |
(C++20以降) | |
std::hash の std::coroutine_handle に対するテンプレート特殊化により、ユーザーは std::coroutine_handle<P> 型のオブジェクトのハッシュ値を取得できます。
特殊化の `operator()` は noexcept です。
[編集] 例
| このセクションは未完成です 理由: 例がありません |
[編集] 関連項目
| (C++11) |
ハッシュ関数オブジェクト (クラステンプレート) |