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 <> 로 변환합니다. 이는 효과적으로 promise 타입을 지웁니다.

매개변수

(없음)

반환값

std:: coroutine_handle <> :: from_address ( 주소 ( ) )

참고 항목

두 개의 coroutine_handle 객체를 비교합니다
(함수)