libcoro  1.0
Coroutine support library for C++20

◆ release()

template<typename T , bool atomic>
FutureType* coro::promise< T, atomic >::release ( )
inline

Release the future pointer from the promise object.

This can be useful,when you need to manage the pointer by yourself. To resolve the future, you need to construct promise again with this pointer.

Returns

Definition at line 273 of file future.h.

+ Here is the caller graph for this function: