std::coroutine_handle<Promise>::operator coroutine_handle<>
来自 zh.cppreference.net
constexpr operator coroutine_handle<>() const noexcept;
|
(自C++20起) | |
此转换函数将一个 std::coroutine_handle<Promise> 值转换为一个持有相同底层地址的 std::coroutine_handle<>。它实际上擦除了 promise 类型。
参数
(无)
返回值
std:: coroutine_handle <> :: from_address ( address ( ) )
另请参阅
|
(C++20)
|
比较两个
coroutine_handle
对象
(函数) |