Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

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

      From cppreference.com
      <cpp‎ |coroutine‎ |coroutine handle
       
       
      Utilities library
       
      Coroutine support
      Coroutine traits
      Coroutine handle
      No-op coroutines
      Trivial awaitables
      Range generators
      (C++23)
       
       
      constexpr operator coroutine_handle<>()constnoexcept;
      (since C++20)

      This conversion function converts astd::coroutine_handle<Promise> value to astd::coroutine_handle<> holding the same underlying address. It effectively erases the promise type.

      [edit]Parameters

      (none)

      [edit]Return value

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

      [edit]See also

      compares twocoroutine_handle objects
      (function)[edit]
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/coroutine/coroutine_handle/operator_coroutine_handle_void&oldid=162088"

      [8]ページ先頭

      ©2009-2025 Movatter.jp