cpp/coroutine/coroutine handle/from promise

Creates a from the promise object of a coroutine. The created refers the coroutine, and promise returns a reference to.

The behavior is undefined if is not a reference to a promise object. This function is only provided for the primary template, i.e. specializations and  do not have this function.

Return value
A referring the given coroutine.