MCPcopy Create free account
hub / github.com/NVIDIA/stdexec / __coroutine_handle_cast

Function __coroutine_handle_cast

include/stdexec/coroutine.hpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34{
35 template <class _Tp, __one_of<_Tp, void> _Up>
36 constexpr auto __coroutine_handle_cast(__std::coroutine_handle<_Up> __h) noexcept //
37 -> __std::coroutine_handle<_Tp>
38 {
39 return __std::coroutine_handle<_Tp>::from_address(__h.address());
40 }
41
42 STDEXEC_ATTRIBUTE(always_inline)
43 void __coroutine_resume_nothrow(void* __address) noexcept

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected