std::coroutine_handle<Promise>::from_address

Creates a coroutine_handle from a null pointer value or an underlying address of another coroutine_handle. The underlying address of return value is addr.

# Declarations

static constexpr coroutine_handle from_address( void *addr );

(since C++20)

# Parameters

# Return value

A std::coroutine_handle whose underlying address is addr.

# Notes

If addr is not a null pointer value, it must be obtained from a prior call to address() on a coroutine_handle referring to some coroutine.

# Example

This section is incompleteReason: no example

# See also