Namespaces
Variants

std::coroutine_handle<Promise>:: operator coroutine_handle<>

From cppreference.net
Utilities library
Coroutine support
Coroutine traits
Coroutine handle
No-op coroutines
Trivial awaitables
Range generators
(C++23)
constexpr operator coroutine_handle <> ( ) const noexcept ;
(C++20以降)

この変換関数は、 std:: coroutine_handle < Promise > の値を、同じ基盤アドレスを保持する std:: coroutine_handle <> に変換します。これは事実上、プロミス型を消去します。

パラメータ

(なし)

戻り値

std:: coroutine_handle <> :: from_address ( address ( ) )

関連項目

2つの coroutine_handle オブジェクトを比較する
(関数)