std::hash<std::coroutine_handle>
来自 zh.cppreference.net
| 定义于头文件 <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) |
哈希函数对象 (类模板) |